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.001304/0.001304, allocations: 98.92 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.00155/0.00155, 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 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.722/2.722, allocations: 436.5 MB / 0.7104 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003547, allocations: 19.92 kB / 0.8708 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8268/0.8272, allocations: 153.7 MB / 1.021 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.004387/0.8316, allocations: 3.604 MB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003963/0.8356, allocations: 2.429 MB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002813/0.8359, allocations: 7.938 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002265/0.8362, allocations: 59.59 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0008087/0.837, allocations: 263.2 kB / 1.027 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.8381, allocations: 418 kB / 1.027 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00072/0.8388, allocations: 419.1 kB / 1.028 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008552/0.8397, allocations: 0.4952 MB / 1.028 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000302/0.84, allocations: 191.2 kB / 1.028 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004159/0.8404, allocations: 235.1 kB / 1.029 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.988e-05/0.8405, allocations: 20 kB / 1.029 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004139/0.8409, allocations: 139.8 kB / 1.029 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.8411, allocations: 151.6 kB / 1.029 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.8412, allocations: 105.5 kB / 1.029 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000556/0.8418, allocations: 0.5278 MB / 1.03 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.8418, allocations: 0 / 1.03 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.505e-06/0.8418, allocations: 0 / 1.03 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.8418, allocations: 0 / 1.03 GB, free: 7.98 MB / 0.7794 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.001336/0.8432, allocations: 0.721 MB / 1.03 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.8432, allocations: 11.98 kB / 1.03 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009182/0.8441, allocations: 159.2 kB / 1.031 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005232/0.8447, allocations: 358 kB / 1.031 GB, free: 6.652 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/0.8447, allocations: 32.88 kB / 1.031 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.083e-05/0.8448, allocations: 43.98 kB / 1.031 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.8461, allocations: 0.8212 MB / 1.032 GB, free: 5.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.8461, allocations: 4 kB / 1.032 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.611e-05/0.8462, allocations: 23.98 kB / 1.032 GB, free: 5.633 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001024/0.8463, allocations: 64.59 kB / 1.032 GB, free: 5.57 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/0.8474, allocations: 0.658 MB / 1.032 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003915/0.8513, allocations: 4.639 MB / 1.037 GB, free: 15.92 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009424/0.8523, allocations: 0.4931 MB / 1.037 GB, free: 15.41 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.093e-05/0.8523, allocations: 4.531 kB / 1.037 GB, free: 15.41 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.8523, allocations: 42.5 kB / 1.038 GB, free: 15.36 MB / 0.795 GB Notification: Performance of pre-optimization done (n=33): time 2.314e-06/0.8524, allocations: 0 / 1.038 GB, free: 15.36 MB / 0.795 GB Notification: Performance of matching and sorting (n=34): time 0.001815/0.8542, allocations: 0.8969 MB / 1.038 GB, free: 14.45 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.8542, allocations: 81.11 kB / 1.038 GB, free: 14.35 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003823/0.8546, allocations: 361.4 kB / 1.039 GB, free: 13.99 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.032e-05/0.8547, allocations: 33.7 kB / 1.039 GB, free: 13.95 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002019/0.8549, allocations: 291 kB / 1.039 GB, free: 13.66 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.855, allocations: 122.3 kB / 1.039 GB, free: 13.54 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/0.855, allocations: 8 kB / 1.039 GB, free: 13.54 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.8552, allocations: 354.8 kB / 1.04 GB, free: 13.18 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004513/0.8556, allocations: 256.8 kB / 1.04 GB, free: 12.93 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000603/0.8562, allocations: 478.6 kB / 1.04 GB, free: 12.36 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005296/0.8568, allocations: 323.8 kB / 1.041 GB, free: 12.04 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.8568, allocations: 4 kB / 1.041 GB, free: 12.04 MB / 0.795 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001266/0.8581, allocations: 0.7868 MB / 1.041 GB, free: 11.24 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.001022/0.8591, allocations: 2.781 MB / 1.044 GB, free: 8.242 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.8591, allocations: 11.94 kB / 1.044 GB, free: 8.23 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.923e-05/0.8592, allocations: 12 kB / 1.044 GB, free: 8.219 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006745/0.8598, allocations: 171.7 kB / 1.044 GB, free: 8.051 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.877e-05/0.8599, allocations: 15.89 kB / 1.044 GB, free: 8.035 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004817/0.8604, allocations: 71.77 kB / 1.044 GB, free: 7.965 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.028e-05/0.8604, allocations: 28 kB / 1.044 GB, free: 7.938 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.8604, allocations: 4 kB / 1.044 GB, free: 7.934 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001061/0.8615, allocations: 0.6012 MB / 1.045 GB, free: 7.332 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.8615, allocations: 12.16 kB / 1.045 GB, free: 7.32 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.8616, allocations: 12 kB / 1.045 GB, free: 7.309 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005202/0.8621, allocations: 151.7 kB / 1.045 GB, free: 7.16 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.8621, allocations: 11.98 kB / 1.045 GB, free: 7.148 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003261/0.8624, allocations: 51.81 kB / 1.045 GB, free: 7.098 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.355e-05/0.8625, allocations: 31.98 kB / 1.045 GB, free: 7.066 MB / 0.795 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003222/0.8628, allocations: 292.7 kB / 1.046 GB, free: 6.77 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.421e-05/0.8629, allocations: 39.53 kB / 1.046 GB, free: 6.73 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.864, allocations: 0.5844 MB / 1.046 GB, free: 6.141 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.864, allocations: 4 kB / 1.046 GB, free: 6.137 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.8641, allocations: 0 / 1.046 GB, free: 6.137 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.8641, allocations: 3.984 kB / 1.046 GB, free: 6.133 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002515/0.8666, allocations: 1.627 MB / 1.048 GB, free: 4.406 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.8666, allocations: 0 / 1.048 GB, free: 4.406 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005428/0.8672, allocations: 123.8 kB / 1.048 GB, free: 4.285 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.8672, allocations: 4 kB / 1.048 GB, free: 4.281 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.937e-05/0.8672, allocations: 12 kB / 1.048 GB, free: 4.27 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.8672, allocations: 8.297 kB / 1.048 GB, free: 4.262 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.8672, allocations: 15.88 kB / 1.048 GB, free: 4.246 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.8684, allocations: 0.9893 MB / 1.049 GB, free: 3.102 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002334/0.8686, allocations: 168.5 kB / 1.049 GB, free: 2.918 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.586e-05/0.8687, allocations: 12 kB / 1.049 GB, free: 2.906 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004013/0.8691, allocations: 51.92 kB / 1.049 GB, free: 2.855 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.819e-05/0.8692, allocations: 47.83 kB / 1.049 GB, free: 2.809 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.8692, allocations: 12 kB / 1.049 GB, free: 2.797 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002571/0.8695, allocations: 255.2 kB / 1.049 GB, free: 2.547 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8695, allocations: 0 / 1.049 GB, free: 2.547 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0008905/0.8704, allocations: 188 kB / 1.05 GB, free: 2.363 MB / 0.795 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 (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.0001749/0.8706, allocations: 111.2 kB / 1.05 GB, free: 2.242 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001644/0.8722, allocations: 0.9237 MB / 1.051 GB, free: 1.32 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.8723, allocations: 0.875 kB / 1.051 GB, free: 1.32 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004833/0.8727, allocations: 285.4 kB / 1.051 GB, free: 1.043 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006215/0.8734, allocations: 102 kB / 1.051 GB, free: 0.9453 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.875, allocations: 1.215 MB / 1.052 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.8755, allocations: 0.879 MB / 1.053 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0005556/0.876, allocations: 204 kB / 1.053 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.8762, allocations: 35.42 kB / 1.053 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of SimCode: time 5.71e-07/0.8762, allocations: 0 / 1.053 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of Templates: time 0.01024/0.8864, allocations: 5.519 MB / 1.059 GB, free: 9.035 MB / 0.8106 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)