Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|varRL.i.1.|varRL.i.2.|RL.i.1.|RL.i.2.|varRC.i.1.|varRC.i.2.|RC.i.1.|RC.i.2.|R.i.1.|R.i.2.|RL.S.1.|RL.S.2.|RC.S.1.|RC.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|varRL.i.1.|varRL.i.2.|RL.i.1.|RL.i.2.|varRC.i.1.|varRC.i.2.|RC.i.1.|RC.i.2.|R.i.1.|R.i.2.|RL.S.1.|RL.S.2.|RC.S.1.|RC.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002126/0.002126, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.002303/0.002303, allocations: 198.4 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.817/2.817, allocations: 482.4 MB / 0.755 GB, free: 7.184 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 63.91 kB / 0.924 GB, free: 332 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9326/0.9346, allocations: 162.2 MB / 1.082 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.006208/0.9409, allocations: 4.235 MB / 1.087 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005759/0.9467, allocations: 2.778 MB / 1.089 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004035/0.9471, allocations: 9.938 kB / 1.089 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.9485, allocations: 348.5 kB / 1.09 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001254/0.9497, allocations: 379.2 kB / 1.09 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001632/0.9514, allocations: 483.6 kB / 1.09 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001065/0.9524, allocations: 0.6939 MB / 1.091 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007516/0.9532, allocations: 389 kB / 1.091 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004273/0.9536, allocations: 261.2 kB / 1.092 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006049/0.9543, allocations: 360.5 kB / 1.092 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.604e-05/0.9543, allocations: 36.47 kB / 1.092 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007555/0.9551, allocations: 342.2 kB / 1.092 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002585/0.9554, allocations: 199.7 kB / 1.093 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003199/0.9557, allocations: 247 kB / 1.093 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0008469/0.9566, allocations: 0.5741 MB / 1.093 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.9566, allocations: 0 / 1.093 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9566, allocations: 1.031 kB / 1.093 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.9566, allocations: 0 / 1.093 GB, free: 11.04 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001661/0.9583, allocations: 0.8051 MB / 1.094 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.9583, allocations: 12.84 kB / 1.094 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/0.9597, allocations: 197.1 kB / 1.094 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005456/0.9603, allocations: 354.7 kB / 1.095 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.9603, allocations: 29.5 kB / 1.095 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.804e-05/0.9604, allocations: 43.84 kB / 1.095 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.9621, allocations: 0.8486 MB / 1.096 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/0.9621, allocations: 3.125 kB / 1.096 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-05/0.9622, allocations: 22.64 kB / 1.096 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001055/0.9623, allocations: 67.94 kB / 1.096 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/0.9637, allocations: 0.6621 MB / 1.096 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005319/0.9691, allocations: 4.668 MB / 1.101 GB, free: 5.223 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.9703, allocations: 0.51 MB / 1.101 GB, free: 5.027 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005828/0.9709, allocations: 280.4 kB / 1.102 GB, free: 4.93 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/0.971, allocations: 3.781 kB / 1.102 GB, free: 4.93 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.971, allocations: 41.98 kB / 1.102 GB, free: 4.883 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=33): time 1.914e-06/0.971, allocations: 0 / 1.102 GB, free: 4.883 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34): time 0.002288/0.9733, allocations: 0.8802 MB / 1.103 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.96e-05/0.9734, allocations: 89.52 kB / 1.103 GB, free: 4.438 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005591/0.974, allocations: 372.7 kB / 1.103 GB, free: 4.246 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.044e-05/0.974, allocations: 31.67 kB / 1.103 GB, free: 4.211 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002872/0.9743, allocations: 290.3 kB / 1.103 GB, free: 3.969 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/0.9745, allocations: 125.9 kB / 1.103 GB, free: 3.871 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002307/0.9747, allocations: 114.2 kB / 1.104 GB, free: 3.812 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002066/0.9749, allocations: 352.8 kB / 1.104 GB, free: 3.48 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006499/0.9756, allocations: 271.8 kB / 1.104 GB, free: 3.395 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008104/0.9764, allocations: 487.1 kB / 1.105 GB, free: 3.023 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001391/0.9778, allocations: 0.7686 MB / 1.105 GB, free: 2.527 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.9778, allocations: 5.469 kB / 1.105 GB, free: 2.523 MB / 0.8419 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001678/0.9795, allocations: 0.7849 MB / 1.106 GB, free: 2.227 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.638e-05/0.9796, allocations: 12.52 kB / 1.106 GB, free: 2.223 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/0.9796, allocations: 6.562 kB / 1.106 GB, free: 2.223 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.9796, allocations: 11 kB / 1.106 GB, free: 2.223 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007661/0.9804, allocations: 171.2 kB / 1.106 GB, free: 2.203 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.905e-05/0.9804, allocations: 12.31 kB / 1.106 GB, free: 2.203 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006215/0.981, allocations: 75.53 kB / 1.106 GB, free: 2.184 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.673e-05/0.9811, allocations: 28.25 kB / 1.106 GB, free: 2.18 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007173/0.9818, allocations: 362.4 kB / 1.107 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007244/0.9826, allocations: 450.6 kB / 1.107 GB, free: 1.633 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00123/0.9838, allocations: 0.6739 MB / 1.108 GB, free: 1.16 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.847e-06/0.9838, allocations: 6.688 kB / 1.108 GB, free: 1.156 MB / 0.8419 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.00143/0.9853, allocations: 0.6886 MB / 1.109 GB, free: 0.8945 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.9853, allocations: 10.42 kB / 1.109 GB, free: 0.8945 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.9853, allocations: 7.5 kB / 1.109 GB, free: 0.8945 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.9853, allocations: 11.22 kB / 1.109 GB, free: 0.8945 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006027/0.9859, allocations: 152.4 kB / 1.109 GB, free: 0.8789 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.103e-05/0.986, allocations: 16.59 kB / 1.109 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005227/0.9865, allocations: 67.06 kB / 1.109 GB, free: 0.8516 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.054e-05/0.9865, allocations: 31.67 kB / 1.109 GB, free: 0.8438 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (67): * Single equations (assignments): 67 * 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 prepare postOptimizeDAE: time 0.0002592/0.9868, allocations: 219.1 kB / 1.109 GB, free: 0.6328 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.9869, allocations: 40.31 kB / 1.109 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001359/0.9883, allocations: 0.5818 MB / 1.11 GB, free: 396 kB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-06/0.9883, allocations: 4.953 kB / 1.11 GB, free: 396 kB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.9883, allocations: 1.406 kB / 1.11 GB, free: 396 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.9883, allocations: 1.453 kB / 1.11 GB, free: 396 kB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003073/0.9914, allocations: 1.613 MB / 1.111 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.367e-06/0.9914, allocations: 4.422 kB / 1.111 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005943/0.992, allocations: 117.2 kB / 1.111 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.688e-06/0.992, allocations: 5.844 kB / 1.111 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.746e-05/0.9921, allocations: 9.938 kB / 1.111 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.1e-05/0.9921, allocations: 10.22 kB / 1.111 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.226e-05/0.9921, allocations: 9.062 kB / 1.111 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.9936, allocations: 0.7818 MB / 1.112 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002765/0.9939, allocations: 169.5 kB / 1.112 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.052e-05/0.994, allocations: 11.95 kB / 1.112 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004884/0.9945, allocations: 47.61 kB / 1.112 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.9946, allocations: 42.28 kB / 1.112 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.921e-05/0.9947, allocations: 14.66 kB / 1.112 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004904/0.9952, allocations: 270.5 kB / 1.113 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9952, allocations: 0 / 1.113 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001129/0.9963, allocations: 195.8 kB / 1.113 GB, free: 14.71 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (35): * Single equations (assignments): 35 * 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.0002045/0.9965, allocations: 111.3 kB / 1.113 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002355/0.9989, allocations: 0.9625 MB / 1.114 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.9989, allocations: 1 kB / 1.114 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006055/0.9995, allocations: 268.9 kB / 1.114 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008955/1, allocations: 124 kB / 1.114 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/1.003, allocations: 1.265 MB / 1.116 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006696/1.003, allocations: 0.8701 MB / 1.116 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002284/1.004, allocations: 45.38 kB / 1.116 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of SimCode: time 3.7e-07/1.004, allocations: 1.469 kB / 1.116 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of Templates: time 0.01234/1.016, allocations: 6.607 MB / 1.123 GB, free: 10.48 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)