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.ParallelResistors.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.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002132/0.002132, allocations: 195.9 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.837/1.837, allocations: 205.1 MB / 222 MB, free: 4.805 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.688/1.688, allocations: 251.7 MB / 0.5088 GB, free: 3.348 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.001596/0.001596, allocations: 64.47 kB / 0.6216 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8188/0.8204, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.005339/0.8258, allocations: 2.688 MB / 0.7264 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002602/0.8285, allocations: 1.387 MB / 0.7278 GB, free: 9.055 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000241/0.8287, allocations: 3.938 kB / 0.7278 GB, free: 9.051 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007926/0.8296, allocations: 163.5 kB / 0.728 GB, free: 8.891 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005668/0.8302, allocations: 155.4 kB / 0.7281 GB, free: 8.738 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005347/0.8307, allocations: 143.8 kB / 0.7282 GB, free: 8.598 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005322/0.8312, allocations: 374.9 kB / 0.7286 GB, free: 8.23 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004372/0.8317, allocations: 141.4 kB / 0.7287 GB, free: 8.094 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002538/0.832, allocations: 91.62 kB / 0.7288 GB, free: 8.004 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000365/0.8323, allocations: 123.6 kB / 0.7289 GB, free: 7.883 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.567e-05/0.8324, allocations: 8 kB / 0.7289 GB, free: 7.875 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004481/0.8329, allocations: 191.6 kB / 0.7291 GB, free: 7.688 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.833, allocations: 67.8 kB / 0.7292 GB, free: 7.621 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.8331, allocations: 87.53 kB / 0.7293 GB, free: 7.535 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000495/0.8336, allocations: 293 kB / 0.7296 GB, free: 7.25 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.8336, allocations: 4 kB / 0.7296 GB, free: 7.246 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8336, allocations: 3.938 kB / 0.7296 GB, free: 7.242 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.8336, allocations: 0 / 0.7296 GB, free: 7.242 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001069/0.8347, allocations: 498.9 kB / 0.73 GB, free: 6.707 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.506e-05/0.8348, allocations: 8.031 kB / 0.73 GB, free: 6.699 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006479/0.8354, allocations: 76.58 kB / 0.7301 GB, free: 6.625 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.8359, allocations: 239 kB / 0.7303 GB, free: 6.355 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.8359, allocations: 8.656 kB / 0.7304 GB, free: 6.348 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.187e-05/0.8359, allocations: 16.36 kB / 0.7304 GB, free: 6.332 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006224/0.8366, allocations: 312.9 kB / 0.7307 GB, free: 6 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.8366, allocations: 0 / 0.7307 GB, free: 6 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/0.8366, allocations: 4 kB / 0.7307 GB, free: 5.996 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.145e-05/0.8367, allocations: 24.27 kB / 0.7307 GB, free: 5.973 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005201/0.8372, allocations: 264.5 kB / 0.731 GB, free: 5.715 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001955/0.8392, allocations: 1.501 MB / 0.7324 GB, free: 4.066 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005367/0.8397, allocations: 265 kB / 0.7327 GB, free: 3.789 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002494/0.84, allocations: 129.6 kB / 0.7328 GB, free: 3.656 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.84, allocations: 8 kB / 0.7328 GB, free: 3.648 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.8401, allocations: 34.56 kB / 0.7328 GB, free: 3.605 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.813e-06/0.8401, allocations: 0 / 0.7328 GB, free: 3.605 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0008318/0.8409, allocations: 344.9 kB / 0.7332 GB, free: 3.266 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.718e-05/0.841, allocations: 81.11 kB / 0.7332 GB, free: 3.168 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.8412, allocations: 175.2 kB / 0.7334 GB, free: 2.988 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.8412, allocations: 29.7 kB / 0.7334 GB, free: 2.953 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.8413, allocations: 140 kB / 0.7336 GB, free: 2.812 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.967e-05/0.8414, allocations: 51.3 kB / 0.7336 GB, free: 2.762 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.8415, allocations: 45.61 kB / 0.7337 GB, free: 2.711 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.8416, allocations: 334.8 kB / 0.734 GB, free: 2.375 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.8418, allocations: 104.8 kB / 0.7341 GB, free: 2.27 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.8421, allocations: 163.6 kB / 0.7342 GB, free: 2.082 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004586/0.8426, allocations: 282.7 kB / 0.7345 GB, free: 1.781 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.8426, allocations: 0 / 0.7345 GB, free: 1.781 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005658/0.8431, allocations: 300.4 kB / 0.7348 GB, free: 1.484 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.8432, allocations: 8 kB / 0.7348 GB, free: 1.477 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.8432, allocations: 224 / 0.7348 GB, free: 1.477 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.8432, allocations: 8 kB / 0.7348 GB, free: 1.469 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000302/0.8435, allocations: 67.88 kB / 0.7349 GB, free: 1.402 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.8436, allocations: 0 / 0.7349 GB, free: 1.402 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.8438, allocations: 43.66 kB / 0.7349 GB, free: 1.359 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.81e-05/0.8438, allocations: 8 kB / 0.7349 GB, free: 1.352 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002614/0.8441, allocations: 192 kB / 0.7351 GB, free: 1.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002204/0.8443, allocations: 164.3 kB / 0.7353 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004006/0.8447, allocations: 247.6 kB / 0.7355 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.187e-06/0.8447, allocations: 3.938 kB / 0.7355 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004977/0.8452, allocations: 273.2 kB / 0.7358 GB, free: 432 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.8453, allocations: 4 kB / 0.7358 GB, free: 428 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.8453, allocations: 4 kB / 0.7358 GB, free: 424 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.795e-06/0.8453, allocations: 4 kB / 0.7358 GB, free: 420 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.8455, allocations: 51.95 kB / 0.7358 GB, free: 368 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.8455, allocations: 7.938 kB / 0.7358 GB, free: 360 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.8457, allocations: 32.06 kB / 0.7359 GB, free: 328 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.8457, allocations: 8 kB / 0.7359 GB, free: 320 kB / 0.545 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000145/0.8459, allocations: 193.2 kB / 0.7361 GB, free: 120 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.155e-05/0.846, allocations: 15.81 kB / 0.7361 GB, free: 104 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005719/0.8465, allocations: 278 kB / 0.7363 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.8466, allocations: 0 / 0.7363 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.8466, allocations: 4 kB / 0.7363 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.8466, allocations: 4 kB / 0.7363 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.8477, allocations: 0.6809 MB / 0.737 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.8477, allocations: 0 / 0.737 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002417/0.848, allocations: 43.95 kB / 0.737 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/0.848, allocations: 16 kB / 0.7371 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/0.848, allocations: 7.938 kB / 0.7371 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.848, allocations: 4 kB / 0.7371 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.848, allocations: 0 / 0.7371 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005694/0.8486, allocations: 453.8 kB / 0.7375 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.8487, allocations: 105 kB / 0.7376 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.278e-05/0.8488, allocations: 15.84 kB / 0.7376 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.849, allocations: 15.97 kB / 0.7376 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.282e-05/0.8491, allocations: 15.98 kB / 0.7377 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.8491, allocations: 8 kB / 0.7377 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001175/0.8492, allocations: 131.2 kB / 0.7378 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8492, allocations: 0 / 0.7378 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004903/0.8497, allocations: 83.84 kB / 0.7379 GB, free: 14.14 MB / 0.5606 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 () * Number of clocked 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 (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.0001589/0.8499, allocations: 107.1 kB / 0.738 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007379/0.8506, allocations: 367.9 kB / 0.7383 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.8506, allocations: 0 / 0.7383 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002147/0.8509, allocations: 119.8 kB / 0.7384 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004855/0.8513, allocations: 36.52 kB / 0.7385 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000949/0.8523, allocations: 0.5101 MB / 0.739 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004127/0.8527, allocations: 0.748 MB / 0.7397 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002301/0.853, allocations: 81.44 kB / 0.7398 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.169e-05/0.8531, allocations: 19.44 kB / 0.7398 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of SimCode: time 6.91e-07/0.8531, allocations: 0 / 0.7398 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of Templates: time 0.006273/0.8593, allocations: 2.158 MB / 0.7419 GB, free: 9.945 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)