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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.007876/0.007876, allocations: 101.3 kB / 15.88 MB, free: 5.863 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.002006/0.002007, allocations: 191.3 kB / 16.79 MB, free: 5.805 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.399/1.399, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.641/2.641, allocations: 461.8 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 67.42 kB / 0.899 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3254, allocations: 157.4 MB / 1.053 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.006876/0.3324, allocations: 4.236 MB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004966/0.3374, allocations: 2.836 MB / 1.06 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005021/0.3379, allocations: 7.938 kB / 1.06 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.3393, allocations: 346.7 kB / 1.06 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00138/0.3407, allocations: 386.5 kB / 1.06 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.3423, allocations: 470.5 kB / 1.061 GB, free: 36 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001331/0.3436, allocations: 0.9817 MB / 1.062 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007059/0.3443, allocations: 336 kB / 1.062 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004449/0.3448, allocations: 239 kB / 1.062 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005303/0.3453, allocations: 346.7 kB / 1.063 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.148e-05/0.3454, allocations: 32 kB / 1.063 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008075/0.3462, allocations: 427.1 kB / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002109/0.3464, allocations: 183.5 kB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000271/0.3467, allocations: 234.7 kB / 1.063 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006582/0.3474, allocations: 0.5575 MB / 1.064 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3474, allocations: 0 / 1.064 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3474, allocations: 0 / 1.064 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.3474, allocations: 0 / 1.064 GB, free: 12.73 MB / 0.8262 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.001547/0.349, allocations: 0.8069 MB / 1.065 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.349, allocations: 11.97 kB / 1.065 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/0.3503, allocations: 196 kB / 1.065 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004696/0.3508, allocations: 367 kB / 1.065 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.852e-05/0.3508, allocations: 33.36 kB / 1.065 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.592e-05/0.3509, allocations: 44.36 kB / 1.065 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.3523, allocations: 0.8371 MB / 1.066 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.3523, allocations: 7.922 kB / 1.066 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.915e-05/0.3524, allocations: 20 kB / 1.066 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-05/0.3525, allocations: 68.61 kB / 1.066 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.3538, allocations: 0.6658 MB / 1.067 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004566/0.3584, allocations: 4.666 MB / 1.072 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.3596, allocations: 0.5009 MB / 1.072 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004863/0.3601, allocations: 277.5 kB / 1.072 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.3601, allocations: 7.984 kB / 1.072 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.3601, allocations: 46.5 kB / 1.072 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=33): time 2.755e-06/0.3602, allocations: 0 / 1.072 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34): time 0.001903/0.3621, allocations: 0.8786 MB / 1.073 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.38e-05/0.3621, allocations: 93.03 kB / 1.073 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004153/0.3626, allocations: 373.4 kB / 1.074 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.541e-05/0.3626, allocations: 29.7 kB / 1.074 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.3628, allocations: 287 kB / 1.074 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.983e-05/0.3629, allocations: 122.3 kB / 1.074 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.3631, allocations: 114.1 kB / 1.074 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3632, allocations: 354.7 kB / 1.075 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005205/0.3638, allocations: 262.9 kB / 1.075 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006784/0.3644, allocations: 490.5 kB / 1.075 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.3656, allocations: 0.7649 MB / 1.076 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.3657, allocations: 8 kB / 1.076 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001449/0.3671, allocations: 0.7897 MB / 1.077 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.3671, allocations: 8 kB / 1.077 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.3672, allocations: 8 kB / 1.077 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/0.3672, allocations: 12 kB / 1.077 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000725/0.3679, allocations: 168.5 kB / 1.077 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.055e-05/0.368, allocations: 15.92 kB / 1.077 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005466/0.3685, allocations: 71.77 kB / 1.077 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.105e-05/0.3686, allocations: 27.98 kB / 1.077 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000627/0.3692, allocations: 365 kB / 1.077 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006035/0.3698, allocations: 453.4 kB / 1.078 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001059/0.3709, allocations: 0.68 MB / 1.079 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.602e-06/0.3709, allocations: 4 kB / 1.079 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001293/0.3722, allocations: 0.6824 MB / 1.079 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3722, allocations: 8 kB / 1.079 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.3722, allocations: 8 kB / 1.079 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.3723, allocations: 12 kB / 1.079 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005868/0.3729, allocations: 152.5 kB / 1.079 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/0.3729, allocations: 15.92 kB / 1.079 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000486/0.3734, allocations: 59.8 kB / 1.079 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.269e-05/0.3734, allocations: 32.08 kB / 1.079 GB, free: 11.84 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.0002212/0.3737, allocations: 220.2 kB / 1.08 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.3738, allocations: 47.42 kB / 1.08 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/0.375, allocations: 0.5795 MB / 1.08 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.375, allocations: 4 kB / 1.08 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.375, allocations: 0 / 1.08 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.375, allocations: 7.938 kB / 1.08 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002571/0.3776, allocations: 1.611 MB / 1.082 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.3777, allocations: 4.469 kB / 1.082 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005616/0.3782, allocations: 123.7 kB / 1.082 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.134e-05/0.3782, allocations: 8 kB / 1.082 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.715e-05/0.3783, allocations: 8 kB / 1.082 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.248e-06/0.3783, allocations: 8 kB / 1.082 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.3783, allocations: 4 kB / 1.082 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.3794, allocations: 0.7796 MB / 1.083 GB, free: 8.266 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002256/0.3797, allocations: 164.5 kB / 1.083 GB, free: 8.086 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.482e-05/0.3798, allocations: 11.98 kB / 1.083 GB, free: 8.074 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004759/0.3802, allocations: 51.94 kB / 1.083 GB, free: 8.023 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.3804, allocations: 31.89 kB / 1.083 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.565e-05/0.3804, allocations: 20 kB / 1.083 GB, free: 7.973 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003814/0.3808, allocations: 271.1 kB / 1.083 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3808, allocations: 3.938 kB / 1.083 GB, free: 7.707 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009984/0.3818, allocations: 196 kB / 1.083 GB, free: 7.516 MB / 0.8419 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.0001763/0.382, allocations: 115.1 kB / 1.084 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001868/0.3839, allocations: 0.9248 MB / 1.085 GB, free: 6.473 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.3839, allocations: 0 / 1.085 GB, free: 6.473 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005003/0.3844, allocations: 275.9 kB / 1.085 GB, free: 6.203 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008486/0.3853, allocations: 115.8 kB / 1.085 GB, free: 6.094 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.3872, allocations: 1.259 MB / 1.086 GB, free: 4.754 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004979/0.3877, allocations: 0.8673 MB / 1.087 GB, free: 3.855 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000232/0.3879, allocations: 47.42 kB / 1.087 GB, free: 3.809 MB / 0.8419 GB Notification: Performance of SimCode: time 1.252e-06/0.388, allocations: 0 / 1.087 GB, free: 3.809 MB / 0.8419 GB Notification: Performance of Templates: time 0.01153/0.3995, allocations: 6.612 MB / 1.093 GB, free: 13.22 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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)