Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.752/1.752, allocations: 297.4 MB / 312.6 MB, free: 2.906 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 190 kB / 382.3 MB, free: 14.81 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 225.7 MB / 0.6617 GB, free: 7.207 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 89.52 kB / 0.7789 GB, free: 46.95 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003745, allocations: 11.98 kB / 0.9058 GB, free: 4.938 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7867/0.7871, allocations: 119.2 MB / 1.022 GB, free: 58.13 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004412/0.7916, allocations: 2.867 MB / 1.025 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00391/0.7956, allocations: 2.989 MB / 1.028 GB, free: 53.96 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002045/0.7958, allocations: 7.438 kB / 1.028 GB, free: 53.96 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002423/0.796, allocations: 46.44 kB / 1.028 GB, free: 53.93 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0005677/0.7966, allocations: 198 kB / 1.028 GB, free: 53.83 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007132/0.7974, allocations: 264.4 kB / 1.028 GB, free: 53.71 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000599/0.798, allocations: 0.5689 MB / 1.029 GB, free: 53.52 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008952/0.7989, allocations: 0.6673 MB / 1.03 GB, free: 52.95 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002639/0.7991, allocations: 140.3 kB / 1.03 GB, free: 52.9 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004569/0.7996, allocations: 184.7 kB / 1.03 GB, free: 52.84 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.016e-05/0.7997, allocations: 13.59 kB / 1.03 GB, free: 52.84 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004949/0.8002, allocations: 264.4 kB / 1.03 GB, free: 52.75 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.8003, allocations: 107.3 kB / 1.03 GB, free: 52.71 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.8005, allocations: 154 kB / 1.031 GB, free: 52.61 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006031/0.8011, allocations: 477.8 kB / 1.031 GB, free: 52.48 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.8011, allocations: 0.5 kB / 1.031 GB, free: 52.48 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8011, allocations: 0 / 1.031 GB, free: 52.48 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.8011, allocations: 0.7812 kB / 1.031 GB, free: 52.48 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001023/0.8021, allocations: 0.5312 MB / 1.031 GB, free: 52.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.8022, allocations: 12 kB / 1.032 GB, free: 52.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006909/0.8029, allocations: 98.25 kB / 1.032 GB, free: 52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.8033, allocations: 277.8 kB / 1.032 GB, free: 51.74 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.8033, allocations: 21.12 kB / 1.032 GB, free: 51.73 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.8034, allocations: 41.91 kB / 1.032 GB, free: 51.71 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006455/0.8041, allocations: 439.8 kB / 1.032 GB, free: 51.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.8041, allocations: 3.938 kB / 1.032 GB, free: 51.49 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.408e-05/0.8042, allocations: 11.62 kB / 1.032 GB, free: 51.48 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000139/0.8043, allocations: 43.48 kB / 1.032 GB, free: 51.48 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005284/0.8049, allocations: 345.4 kB / 1.033 GB, free: 51.37 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002184/0.807, allocations: 2.21 MB / 1.035 GB, free: 49.52 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004541/0.8075, allocations: 276.5 kB / 1.035 GB, free: 49.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002254/0.8078, allocations: 161.3 kB / 1.035 GB, free: 49.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.8078, allocations: 4.75 kB / 1.035 GB, free: 49.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.8078, allocations: 38.47 kB / 1.035 GB, free: 49.29 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 2.615e-06/0.8078, allocations: 0 / 1.035 GB, free: 49.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.001823/0.8097, allocations: 1.052 MB / 1.036 GB, free: 48.66 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.8097, allocations: 58.66 kB / 1.036 GB, free: 48.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002647/0.81, allocations: 251.1 kB / 1.037 GB, free: 48.44 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.81, allocations: 29.7 kB / 1.037 GB, free: 48.41 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.8101, allocations: 187.5 kB / 1.037 GB, free: 48.24 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.983e-05/0.8102, allocations: 91.36 kB / 1.037 GB, free: 48.17 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.882e-05/0.8102, allocations: 7.438 kB / 1.037 GB, free: 48.16 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.818e-05/0.8103, allocations: 335.9 kB / 1.037 GB, free: 47.84 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.8105, allocations: 149.6 kB / 1.037 GB, free: 47.79 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.8108, allocations: 233.5 kB / 1.038 GB, free: 47.64 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005146/0.8113, allocations: 400.4 kB / 1.038 GB, free: 47.41 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.8113, allocations: 7.875 kB / 1.038 GB, free: 47.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001093/0.8124, allocations: 0.5806 MB / 1.039 GB, free: 47.17 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.8125, allocations: 5.594 kB / 1.039 GB, free: 47.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.8125, allocations: 3.375 kB / 1.039 GB, free: 47.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006634/0.8131, allocations: 194.6 kB / 1.039 GB, free: 47.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/0.8134, allocations: 58.33 kB / 1.039 GB, free: 47.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002541/0.816, allocations: 2.295 MB / 1.041 GB, free: 45.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000274/0.8163, allocations: 16.19 kB / 1.041 GB, free: 45.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.8163, allocations: 15.55 kB / 1.041 GB, free: 45.44 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001886/0.8165, allocations: 166.5 kB / 1.041 GB, free: 45.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.564e-05/0.8166, allocations: 25.69 kB / 1.041 GB, free: 45.29 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005556/0.8171, allocations: 356.2 kB / 1.042 GB, free: 45.13 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.8171, allocations: 7.062 kB / 1.042 GB, free: 45.12 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.8171, allocations: 0 / 1.042 GB, free: 45.12 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.8172, allocations: 2.812 kB / 1.042 GB, free: 45.12 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.8182, allocations: 0.8069 MB / 1.042 GB, free: 44.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.8182, allocations: 3.969 kB / 1.042 GB, free: 44.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003864/0.8186, allocations: 72.19 kB / 1.043 GB, free: 44.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.8186, allocations: 2.219 kB / 1.043 GB, free: 44.62 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.8186, allocations: 12.94 kB / 1.043 GB, free: 44.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.8186, allocations: 3.031 kB / 1.043 GB, free: 44.61 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.8186, allocations: 0 / 1.043 GB, free: 44.61 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007144/0.8194, allocations: 0.6095 MB / 1.043 GB, free: 44.29 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.8195, allocations: 131 kB / 1.043 GB, free: 44.16 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/0.8196, allocations: 13.28 kB / 1.043 GB, free: 44.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.8197, allocations: 12.02 kB / 1.043 GB, free: 44.16 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.8198, allocations: 17.48 kB / 1.043 GB, free: 44.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.8198, allocations: 5.031 kB / 1.043 GB, free: 44.15 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001516/0.82, allocations: 180.3 kB / 1.043 GB, free: 44.04 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.01e-07/0.82, allocations: 0 / 1.043 GB, free: 44.04 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004024/0.8204, allocations: 88.94 kB / 1.044 GB, free: 44.03 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001663/0.8206, allocations: 121.8 kB / 1.044 GB, free: 43.93 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008721/0.8215, allocations: 0.5261 MB / 1.044 GB, free: 43.67 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.8215, allocations: 0 / 1.044 GB, free: 43.67 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002421/0.8217, allocations: 153.1 kB / 1.044 GB, free: 43.62 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006514/0.8224, allocations: 60.84 kB / 1.044 GB, free: 43.59 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.8239, allocations: 1.023 MB / 1.045 GB, free: 42.96 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.8242, allocations: 0.7881 MB / 1.046 GB, free: 42.26 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002334/0.8244, allocations: 74.95 kB / 1.046 GB, free: 42.25 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.854e-05/0.8245, allocations: 22.66 kB / 1.046 GB, free: 42.25 MB / 0.698 GB Notification: Performance of SimCode: time 4.81e-07/0.8245, allocations: 4 kB / 1.046 GB, free: 42.25 MB / 0.698 GB Notification: Performance of Templates: time 0.007645/0.8322, allocations: 3.757 MB / 1.05 GB, free: 42.02 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)