Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009034/0.0009033, allocations: 86.36 kB / 15.06 MB, free: 1.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 176.7 kB / 15.96 MB, free: 196 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.621/1.621, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.583/1.583, allocations: 252 MB / 0.5102 GB, free: 4.809 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005536/0.0005537, allocations: 16 kB / 0.6243 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6491/0.6497, allocations: 106.3 MB / 0.7281 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003755/0.6535, allocations: 2.836 MB / 0.7309 GB, free: 8.602 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002701/0.6562, allocations: 1.743 MB / 0.7326 GB, free: 6.848 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.6563, allocations: 7.938 kB / 0.7326 GB, free: 6.84 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001804/0.6565, allocations: 39.7 kB / 0.7326 GB, free: 6.801 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004194/0.657, allocations: 175.2 kB / 0.7328 GB, free: 6.629 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005807/0.6575, allocations: 225 kB / 0.733 GB, free: 6.41 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004824/0.658, allocations: 474.5 kB / 0.7335 GB, free: 5.945 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007677/0.6588, allocations: 425.2 kB / 0.7339 GB, free: 5.5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001902/0.659, allocations: 139.5 kB / 0.734 GB, free: 5.363 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003611/0.6594, allocations: 183.4 kB / 0.7342 GB, free: 5.184 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.6594, allocations: 20 kB / 0.7342 GB, free: 5.164 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002953/0.6597, allocations: 135.8 kB / 0.7343 GB, free: 5.031 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.6599, allocations: 103.8 kB / 0.7344 GB, free: 4.93 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.256e-05/0.66, allocations: 81.45 kB / 0.7345 GB, free: 4.844 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003844/0.6604, allocations: 349.1 kB / 0.7349 GB, free: 4.504 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.6604, allocations: 0 / 0.7349 GB, free: 4.504 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6604, allocations: 0 / 0.7349 GB, free: 4.504 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.6604, allocations: 0 / 0.7349 GB, free: 4.504 MB / 0.545 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.0009977/0.6614, allocations: 0.5418 MB / 0.7354 GB, free: 3.914 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.6614, allocations: 8.031 kB / 0.7354 GB, free: 3.906 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007211/0.6622, allocations: 99.47 kB / 0.7355 GB, free: 3.809 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003992/0.6626, allocations: 260.7 kB / 0.7357 GB, free: 3.512 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/0.6626, allocations: 24.55 kB / 0.7358 GB, free: 3.488 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.6628, allocations: 31.98 kB / 0.7358 GB, free: 3.457 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007032/0.6635, allocations: 441.1 kB / 0.7362 GB, free: 2.992 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/0.6635, allocations: 15.84 kB / 0.7362 GB, free: 2.977 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.468e-05/0.6636, allocations: 4 kB / 0.7362 GB, free: 2.973 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001371/0.6637, allocations: 44.48 kB / 0.7363 GB, free: 2.926 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005278/0.6642, allocations: 349.9 kB / 0.7366 GB, free: 2.586 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002684/0.6669, allocations: 2.195 MB / 0.7387 GB, free: 196 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005012/0.6674, allocations: 279 kB / 0.739 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.6677, allocations: 157.2 kB / 0.7392 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.6677, allocations: 192 / 0.7392 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.6677, allocations: 46.73 kB / 0.7392 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 1.393e-06/0.6677, allocations: 0 / 0.7392 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23): time 0.002038/0.6698, allocations: 1.043 MB / 0.7402 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.6698, allocations: 55.41 kB / 0.7403 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002721/0.6701, allocations: 256.8 kB / 0.7405 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.6702, allocations: 29.7 kB / 0.7406 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000307/0.6705, allocations: 191.9 kB / 0.7407 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.587e-05/0.6706, allocations: 78.81 kB / 0.7408 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.409e-05/0.6706, allocations: 12 kB / 0.7408 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002867/0.6709, allocations: 326.8 kB / 0.7411 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003032/0.6712, allocations: 151.9 kB / 0.7413 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003839/0.6716, allocations: 237.6 kB / 0.7415 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003024/0.6719, allocations: 189.3 kB / 0.7417 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.6719, allocations: 0 / 0.7417 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001039/0.6729, allocations: 0.5888 MB / 0.7423 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.673, allocations: 4 kB / 0.7423 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.673, allocations: 4 kB / 0.7423 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006311/0.6736, allocations: 184.9 kB / 0.7424 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002814/0.6739, allocations: 63.89 kB / 0.7425 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003167/0.6771, allocations: 2.293 MB / 0.7447 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/0.6774, allocations: 24.05 kB / 0.7448 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/0.6774, allocations: 15.98 kB / 0.7448 GB, free: 9.695 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001872/0.6776, allocations: 167 kB / 0.7449 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.962e-05/0.6777, allocations: 23.72 kB / 0.745 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005766/0.6782, allocations: 361.9 kB / 0.7453 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.6783, allocations: 0 / 0.7453 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.6783, allocations: 4 kB / 0.7453 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.6783, allocations: 4 kB / 0.7453 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.6794, allocations: 0.8028 MB / 0.7461 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.6795, allocations: 3.938 kB / 0.7461 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003783/0.6798, allocations: 75.88 kB / 0.7462 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.6799, allocations: 4 kB / 0.7462 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.819e-05/0.6799, allocations: 8 kB / 0.7462 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.633e-06/0.6799, allocations: 4 kB / 0.7462 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.6799, allocations: 0 / 0.7462 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009403/0.6809, allocations: 0.618 MB / 0.7468 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001624/0.681, allocations: 128.9 kB / 0.7469 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/0.6811, allocations: 8 kB / 0.7469 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.6813, allocations: 11.98 kB / 0.7469 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.6813, allocations: 19.97 kB / 0.747 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.6814, allocations: 8 kB / 0.747 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002062/0.6816, allocations: 180.5 kB / 0.7471 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6816, allocations: 0 / 0.7471 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006514/0.6822, allocations: 84 kB / 0.7472 GB, free: 7.098 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002762/0.6825, allocations: 111.2 kB / 0.7473 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001052/0.6836, allocations: 0.5298 MB / 0.7478 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.6836, allocations: 0 / 0.7478 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000201/0.6838, allocations: 151.8 kB / 0.748 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004675/0.6843, allocations: 49.86 kB / 0.748 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.6859, allocations: 1.013 MB / 0.749 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004814/0.6864, allocations: 0.7951 MB / 0.7498 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002944/0.6867, allocations: 74.91 kB / 0.7499 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.983e-05/0.6868, allocations: 31.42 kB / 0.7499 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of SimCode: time 5.31e-07/0.6868, allocations: 0 / 0.7499 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of Templates: time 0.007784/0.6946, allocations: 3.652 MB / 0.7535 GB, free: 0.6406 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) Environment - environmentSimulation: