Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.702/1.702, allocations: 289.9 MB / 297.4 MB, free: 6.43 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 176.8 kB / 366.7 MB, free: 1.691 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.628/1.628, allocations: 205.2 MB / 0.626 GB, free: 7.184 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000933/0.0009328, allocations: 98.56 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.766e-05/1.768e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7037/0.7037, allocations: 116.3 MB / 0.9733 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.211/0.9147, allocations: 154.3 MB / 1.124 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/0.9151, allocations: 97.34 kB / 1.124 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03125/0.9463, allocations: 13.32 MB / 1.137 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9464, allocations: 3.938 kB / 1.137 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.399e-05/0.9464, allocations: 8 kB / 1.137 GB, free: 14.45 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007185/0.9471, allocations: 467.1 kB / 1.137 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/0.9472, allocations: 15.97 kB / 1.138 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006029/0.9478, allocations: 75.72 kB / 1.138 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.9481, allocations: 246.5 kB / 1.138 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.9481, allocations: 4 kB / 1.138 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.32e-05/0.9482, allocations: 12 kB / 1.138 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000319/0.9485, allocations: 175.9 kB / 1.138 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003826/0.9489, allocations: 268.8 kB / 1.138 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.9489, allocations: 0 / 1.138 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.9489, allocations: 0 / 1.138 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.015e-05/0.949, allocations: 27.98 kB / 1.138 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.9506, allocations: 1.451 MB / 1.14 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/0.951, allocations: 241.1 kB / 1.14 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.9512, allocations: 113.7 kB / 1.14 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.9512, allocations: 256 / 1.14 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.9512, allocations: 34.56 kB / 1.14 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.142e-06/0.9512, allocations: 3.938 kB / 1.14 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0004062/0.9516, allocations: 213.4 kB / 1.14 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.9517, allocations: 85.11 kB / 1.14 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.9519, allocations: 148 kB / 1.14 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.9519, allocations: 25.7 kB / 1.141 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.441e-05/0.952, allocations: 140.1 kB / 1.141 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.575e-05/0.952, allocations: 51.2 kB / 1.141 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.187e-05/0.9521, allocations: 7.688 kB / 1.141 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.9522, allocations: 326.8 kB / 1.141 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.9523, allocations: 87.97 kB / 1.141 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.9525, allocations: 144.3 kB / 1.141 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.9527, allocations: 113.7 kB / 1.141 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.9527, allocations: 0 / 1.141 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003668/0.953, allocations: 257.5 kB / 1.142 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002983/0.9533, allocations: 0.7031 MB / 1.142 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.9534, allocations: 5.938 kB / 1.142 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.9534, allocations: 4 kB / 1.142 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002949/0.9537, allocations: 67.84 kB / 1.142 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.9537, allocations: 4 kB / 1.142 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.9539, allocations: 31.81 kB / 1.142 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.9539, allocations: 4 kB / 1.142 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.624e-06/0.9539, allocations: 4 kB / 1.142 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002854/0.9542, allocations: 185.3 kB / 1.143 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.9542, allocations: 8.031 kB / 1.143 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.22e-06/0.9543, allocations: 0 / 1.143 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.9545, allocations: 55.89 kB / 1.143 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.9545, allocations: 4 kB / 1.143 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.9546, allocations: 23.83 kB / 1.143 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.9547, allocations: 19.92 kB / 1.143 GB, free: 8.262 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 8.565e-05/0.9548, allocations: 108.9 kB / 1.143 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.355e-05/0.9548, allocations: 15.81 kB / 1.143 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003879/0.9552, allocations: 235.4 kB / 1.143 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.9552, allocations: 0 / 1.143 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.9552, allocations: 0 / 1.143 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.9553, allocations: 5.25 kB / 1.143 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007761/0.956, allocations: 0.5958 MB / 1.144 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.9561, allocations: 3.984 kB / 1.144 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/0.9563, allocations: 47.91 kB / 1.144 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.9563, allocations: 4 kB / 1.144 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.9563, allocations: 4 kB / 1.144 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.9563, allocations: 3.984 kB / 1.144 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.9563, allocations: 4 kB / 1.144 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004232/0.9568, allocations: 475.6 kB / 1.144 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.638e-05/0.9569, allocations: 119.3 kB / 1.144 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.258e-05/0.9569, allocations: 4 kB / 1.144 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.9571, allocations: 21.75 kB / 1.144 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/0.9572, allocations: 11.98 kB / 1.144 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.9572, allocations: 8 kB / 1.144 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.526e-05/0.9573, allocations: 127.5 kB / 1.144 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9573, allocations: 0 / 1.144 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004441/0.9577, allocations: 87.83 kB / 1.144 GB, free: 6.262 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0001485/0.9579, allocations: 107.1 kB / 1.145 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004654/0.9584, allocations: 314.5 kB / 1.145 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.9584, allocations: 0.875 kB / 1.145 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.9585, allocations: 92.08 kB / 1.145 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.9589, allocations: 36.23 kB / 1.145 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005736/0.9594, allocations: 322.3 kB / 1.145 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.9598, allocations: 0.7483 MB / 1.146 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002191/0.96, allocations: 81.14 kB / 1.146 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.457e-05/0.9601, allocations: 16 kB / 1.146 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of SimCode: time 2.71e-07/0.9601, allocations: 0 / 1.146 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of Templates: time 0.00474/0.9648, allocations: 2.171 MB / 1.148 GB, free: 2.387 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)