Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.059/2.059, allocations: 306.1 MB / 321.4 MB, free: 10.75 MB / 250.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.00152/0.00152, allocations: 179.3 kB / 393.1 MB, free: 4.105 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.578/1.578, allocations: 225.7 MB / 0.6743 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008964/0.0008965, allocations: 92.41 kB / 0.7935 GB, free: 40.07 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003735/0.0003735, allocations: 12 kB / 0.9224 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6353/0.6356, allocations: 121.3 MB / 1.041 GB, free: 58.47 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003322/0.639, allocations: 2.865 MB / 1.044 GB, free: 56.59 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002506/0.6416, allocations: 2.993 MB / 1.047 GB, free: 53.92 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.6417, allocations: 7.219 kB / 1.047 GB, free: 53.92 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001714/0.6419, allocations: 47.05 kB / 1.047 GB, free: 53.89 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004115/0.6423, allocations: 196.4 kB / 1.047 GB, free: 53.79 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005409/0.6428, allocations: 267.6 kB / 1.047 GB, free: 53.66 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004667/0.6433, allocations: 0.5617 MB / 1.048 GB, free: 53.48 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006887/0.644, allocations: 0.6713 MB / 1.048 GB, free: 52.91 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.6442, allocations: 139.8 kB / 1.048 GB, free: 52.86 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002991/0.6445, allocations: 184.4 kB / 1.049 GB, free: 52.8 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.186e-05/0.6445, allocations: 13.09 kB / 1.049 GB, free: 52.8 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003706/0.6449, allocations: 269.4 kB / 1.049 GB, free: 52.71 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.901e-05/0.645, allocations: 116.9 kB / 1.049 GB, free: 52.67 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.6451, allocations: 149.3 kB / 1.049 GB, free: 52.57 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004654/0.6456, allocations: 470.7 kB / 1.05 GB, free: 52.44 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.6456, allocations: 0 / 1.05 GB, free: 52.44 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6456, allocations: 0 / 1.05 GB, free: 52.44 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.6456, allocations: 0 / 1.05 GB, free: 52.44 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.0008263/0.6465, allocations: 0.5373 MB / 1.05 GB, free: 51.97 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.6465, allocations: 9.219 kB / 1.05 GB, free: 51.97 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006553/0.6472, allocations: 95.52 kB / 1.05 GB, free: 51.95 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.6475, allocations: 280.9 kB / 1.05 GB, free: 51.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.6475, allocations: 19.7 kB / 1.05 GB, free: 51.69 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.6476, allocations: 34.19 kB / 1.051 GB, free: 51.68 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005628/0.6482, allocations: 443.5 kB / 1.051 GB, free: 51.45 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.6482, allocations: 9.969 kB / 1.051 GB, free: 51.45 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.6482, allocations: 9.781 kB / 1.051 GB, free: 51.44 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001219/0.6484, allocations: 40.55 kB / 1.051 GB, free: 51.44 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004591/0.6488, allocations: 353.6 kB / 1.051 GB, free: 51.32 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001961/0.6508, allocations: 2.2 MB / 1.053 GB, free: 49.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003943/0.6512, allocations: 271.6 kB / 1.054 GB, free: 49.37 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/0.6514, allocations: 162.4 kB / 1.054 GB, free: 49.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.6514, allocations: 5 kB / 1.054 GB, free: 49.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.527e-05/0.6515, allocations: 34 kB / 1.054 GB, free: 49.26 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 1.803e-06/0.6515, allocations: 0 / 1.054 GB, free: 49.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.001528/0.653, allocations: 1.052 MB / 1.055 GB, free: 48.62 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.004e-05/0.653, allocations: 54.22 kB / 1.055 GB, free: 48.56 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.6532, allocations: 254.6 kB / 1.055 GB, free: 48.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.6533, allocations: 32.52 kB / 1.055 GB, free: 48.37 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/0.6533, allocations: 181.9 kB / 1.055 GB, free: 48.21 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.953e-05/0.6534, allocations: 86 kB / 1.056 GB, free: 48.15 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/0.6535, allocations: 17.09 kB / 1.056 GB, free: 48.13 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.592e-05/0.6535, allocations: 332.7 kB / 1.056 GB, free: 47.81 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.6537, allocations: 149 kB / 1.056 GB, free: 47.76 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.654, allocations: 233.5 kB / 1.056 GB, free: 47.61 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004477/0.6544, allocations: 401.6 kB / 1.057 GB, free: 47.38 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.6544, allocations: 5.062 kB / 1.057 GB, free: 47.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009855/0.6554, allocations: 0.591 MB / 1.057 GB, free: 47.13 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.6555, allocations: 6.281 kB / 1.057 GB, free: 47.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.6555, allocations: 3.562 kB / 1.057 GB, free: 47.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006772/0.6562, allocations: 186 kB / 1.057 GB, free: 47.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/0.6564, allocations: 66.81 kB / 1.057 GB, free: 47.08 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002249/0.6587, allocations: 2.291 MB / 1.06 GB, free: 45.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/0.659, allocations: 22.42 kB / 1.06 GB, free: 45.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.659, allocations: 14.88 kB / 1.06 GB, free: 45.39 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.0001281/0.6591, allocations: 168.3 kB / 1.06 GB, free: 45.25 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.53e-05/0.6592, allocations: 29.47 kB / 1.06 GB, free: 45.23 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004757/0.6597, allocations: 350.4 kB / 1.06 GB, free: 45.08 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.6597, allocations: 3.094 kB / 1.06 GB, free: 45.08 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.6597, allocations: 0 / 1.06 GB, free: 45.08 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.6597, allocations: 7.141 kB / 1.06 GB, free: 45.08 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008674/0.6606, allocations: 0.8026 MB / 1.061 GB, free: 44.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.6606, allocations: 0 / 1.061 GB, free: 44.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003923/0.661, allocations: 83.61 kB / 1.061 GB, free: 44.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.661, allocations: 0 / 1.061 GB, free: 44.57 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.661, allocations: 6.594 kB / 1.061 GB, free: 44.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.661, allocations: 4.047 kB / 1.061 GB, free: 44.57 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.661, allocations: 4.062 kB / 1.061 GB, free: 44.56 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000601/0.6617, allocations: 0.6112 MB / 1.062 GB, free: 44.23 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.621e-05/0.6618, allocations: 127.9 kB / 1.062 GB, free: 44.12 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.962e-05/0.6618, allocations: 7.406 kB / 1.062 GB, free: 44.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.662, allocations: 13.12 kB / 1.062 GB, free: 44.11 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.6621, allocations: 14.88 kB / 1.062 GB, free: 44.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.6621, allocations: 10.69 kB / 1.062 GB, free: 44.11 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001359/0.6622, allocations: 179.3 kB / 1.062 GB, free: 44 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6622, allocations: 0 / 1.062 GB, free: 44 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003518/0.6626, allocations: 91.41 kB / 1.062 GB, free: 43.98 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.0001405/0.6627, allocations: 118.9 kB / 1.062 GB, free: 43.89 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007216/0.6635, allocations: 0.5226 MB / 1.063 GB, free: 43.63 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6635, allocations: 0 / 1.063 GB, free: 43.63 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.6636, allocations: 151.2 kB / 1.063 GB, free: 43.58 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004143/0.6641, allocations: 57.39 kB / 1.063 GB, free: 43.55 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.6654, allocations: 1.024 MB / 1.064 GB, free: 42.92 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.6656, allocations: 0.7921 MB / 1.065 GB, free: 42.21 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002129/0.6658, allocations: 77.55 kB / 1.065 GB, free: 42.21 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.302e-05/0.6659, allocations: 28.22 kB / 1.065 GB, free: 42.2 MB / 0.698 GB Notification: Performance of SimCode: time 2.9e-07/0.6659, allocations: 0 / 1.065 GB, free: 42.2 MB / 0.698 GB Notification: Performance of Templates: time 0.006348/0.6723, allocations: 3.758 MB / 1.069 GB, free: 41.96 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)