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.001384/0.001384, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001582/0.001582, allocations: 177.3 kB / 15.95 MB, free: 216 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.581/1.581, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.695/1.695, allocations: 251.9 MB / 0.51 GB, free: 4.887 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.0006473/0.0006474, allocations: 16 kB / 0.6241 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7565/0.7572, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.00511/0.7624, allocations: 2.769 MB / 0.7307 GB, free: 8.652 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003403/0.7658, allocations: 1.731 MB / 0.7324 GB, free: 6.91 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.766, allocations: 0 / 0.7324 GB, free: 6.91 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001912/0.7662, allocations: 47.69 kB / 0.7324 GB, free: 6.863 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005455/0.7668, allocations: 143.5 kB / 0.7326 GB, free: 6.723 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006202/0.7674, allocations: 225.8 kB / 0.7328 GB, free: 6.504 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003694/0.7678, allocations: 239.5 kB / 0.733 GB, free: 6.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008454/0.7686, allocations: 437.2 kB / 0.7334 GB, free: 5.812 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.7688, allocations: 119.6 kB / 0.7335 GB, free: 5.695 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003254/0.7692, allocations: 127.6 kB / 0.7336 GB, free: 5.57 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.402e-05/0.7692, allocations: 12 kB / 0.7337 GB, free: 5.559 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002781/0.7695, allocations: 131.8 kB / 0.7338 GB, free: 5.43 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.7696, allocations: 95.77 kB / 0.7339 GB, free: 5.336 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.782e-05/0.7697, allocations: 77.52 kB / 0.734 GB, free: 5.254 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004132/0.7701, allocations: 349.1 kB / 0.7343 GB, free: 4.914 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.7701, allocations: 0 / 0.7343 GB, free: 4.914 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.028e-06/0.7702, allocations: 3.938 kB / 0.7343 GB, free: 4.91 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.558e-05/0.7702, allocations: 4 kB / 0.7343 GB, free: 4.906 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.001147/0.7713, allocations: 0.5409 MB / 0.7348 GB, free: 4.32 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.932e-05/0.7714, allocations: 8.031 kB / 0.7348 GB, free: 4.312 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00082/0.7722, allocations: 107.5 kB / 0.7349 GB, free: 4.207 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004777/0.7727, allocations: 268.7 kB / 0.7352 GB, free: 3.902 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.308e-05/0.7728, allocations: 24.55 kB / 0.7352 GB, free: 3.879 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.7729, allocations: 28 kB / 0.7352 GB, free: 3.852 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000708/0.7736, allocations: 437.1 kB / 0.7357 GB, free: 3.391 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.7737, allocations: 7.906 kB / 0.7357 GB, free: 3.383 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.018e-05/0.7737, allocations: 15.98 kB / 0.7357 GB, free: 3.367 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001549/0.7739, allocations: 48.47 kB / 0.7357 GB, free: 3.316 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005699/0.7744, allocations: 349.9 kB / 0.7361 GB, free: 2.977 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002607/0.7771, allocations: 2.191 MB / 0.7382 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000422/0.7775, allocations: 269.5 kB / 0.7385 GB, free: 324 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.7775, allocations: 8.188 kB / 0.7385 GB, free: 316 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.7776, allocations: 30.75 kB / 0.7385 GB, free: 276 kB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 1.373e-06/0.7776, allocations: 4 kB / 0.7385 GB, free: 272 kB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.001839/0.7794, allocations: 1.047 MB / 0.7395 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.7795, allocations: 55.41 kB / 0.7396 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.7798, allocations: 252.8 kB / 0.7398 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.7798, allocations: 25.7 kB / 0.7398 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.7799, allocations: 199.9 kB / 0.74 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.573e-05/0.78, allocations: 82.81 kB / 0.7401 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.861e-05/0.78, allocations: 4 kB / 0.7401 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.7802, allocations: 334.8 kB / 0.7404 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.7804, allocations: 151.9 kB / 0.7406 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003085/0.7807, allocations: 233.6 kB / 0.7408 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002886/0.781, allocations: 185.3 kB / 0.741 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.7811, allocations: 4 kB / 0.741 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001082/0.7821, allocations: 0.5888 MB / 0.7416 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.7822, allocations: 6.188 kB / 0.7416 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.7822, allocations: 4 kB / 0.7416 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006757/0.7829, allocations: 192.8 kB / 0.7417 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002747/0.7832, allocations: 59.91 kB / 0.7418 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002827/0.786, allocations: 2.354 MB / 0.7441 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.7863, allocations: 15.98 kB / 0.7441 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.693e-05/0.7863, allocations: 16 kB / 0.7441 GB, free: 10.2 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.0001849/0.7865, allocations: 165.7 kB / 0.7443 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.576e-05/0.7866, allocations: 31.61 kB / 0.7443 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006559/0.7872, allocations: 359.5 kB / 0.7447 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.7873, allocations: 0 / 0.7447 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.7873, allocations: 3.984 kB / 0.7447 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.7873, allocations: 0 / 0.7447 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.7883, allocations: 0.8084 MB / 0.7455 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.7883, allocations: 4 kB / 0.7455 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003813/0.7887, allocations: 75.88 kB / 0.7455 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.7887, allocations: 4 kB / 0.7455 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.7888, allocations: 8.062 kB / 0.7455 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.7888, allocations: 4 kB / 0.7455 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.7888, allocations: 0 / 0.7455 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007343/0.7895, allocations: 0.6321 MB / 0.7462 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.7897, allocations: 136.8 kB / 0.7463 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.073e-05/0.7897, allocations: 8 kB / 0.7463 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.7899, allocations: 7.984 kB / 0.7463 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.79, allocations: 19.94 kB / 0.7463 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.79, allocations: 4 kB / 0.7463 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000165/0.7902, allocations: 184.5 kB / 0.7465 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7902, allocations: 0 / 0.7465 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004027/0.7906, allocations: 84 kB / 0.7466 GB, free: 7.562 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.0001916/0.7908, allocations: 111.2 kB / 0.7467 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009049/0.7917, allocations: 0.5334 MB / 0.7472 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.7917, allocations: 0.625 kB / 0.7472 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.7919, allocations: 149.3 kB / 0.7474 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/0.7923, allocations: 48.47 kB / 0.7474 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.7939, allocations: 1.012 MB / 0.7484 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.7944, allocations: 0.8028 MB / 0.7492 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000201/0.7946, allocations: 74.91 kB / 0.7492 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.027e-05/0.7947, allocations: 23.42 kB / 0.7493 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.7947, allocations: 4 kB / 0.7493 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of Templates: time 0.007548/0.8022, allocations: 3.644 MB / 0.7528 GB, free: 1.105 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: