Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.637/1.637, allocations: 297.8 MB / 313.7 MB, free: 88 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009425/0.0009425, allocations: 180.5 kB / 384.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 223.2 MB / 0.6626 GB, free: 4.281 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007388/0.0007388, allocations: 97.05 kB / 0.7808 GB, free: 50.39 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003856/0.0003857, allocations: 12 kB / 0.9088 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6066/0.607, allocations: 120.3 MB / 1.026 GB, free: 55.96 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1865/0.7935, allocations: 157.5 MB / 1.18 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000307/0.7939, allocations: 91.94 kB / 1.18 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03506/0.8289, allocations: 14.77 MB / 1.195 GB, free: 5.586 MB / 0.7605 GB Notification: Performance of FrontEnd: time 4.128e-06/0.829, allocations: 4 kB / 1.195 GB, free: 5.582 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.429e-05/0.829, allocations: 0 / 1.195 GB, free: 5.582 MB / 0.7605 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.0007446/0.8297, allocations: 497.9 kB / 1.195 GB, free: 5.047 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.8298, allocations: 9.625 kB / 1.195 GB, free: 5.039 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000619/0.8304, allocations: 81.62 kB / 1.195 GB, free: 4.961 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.8307, allocations: 243.4 kB / 1.195 GB, free: 4.688 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.8308, allocations: 12.88 kB / 1.195 GB, free: 4.676 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.8308, allocations: 13.06 kB / 1.195 GB, free: 4.664 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005083/0.8313, allocations: 307.6 kB / 1.196 GB, free: 4.34 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.8313, allocations: 4.188 kB / 1.196 GB, free: 4.336 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/0.8314, allocations: 15.67 kB / 1.196 GB, free: 4.324 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.971e-05/0.8314, allocations: 19.98 kB / 1.196 GB, free: 4.305 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005041/0.8319, allocations: 271.7 kB / 1.196 GB, free: 4.039 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/0.8336, allocations: 1.507 MB / 1.198 GB, free: 2.387 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004632/0.8341, allocations: 261.1 kB / 1.198 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/0.8343, allocations: 138.8 kB / 1.198 GB, free: 1.973 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.8343, allocations: 4 kB / 1.198 GB, free: 1.969 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.8344, allocations: 34.56 kB / 1.198 GB, free: 1.926 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.8344, allocations: 0 / 1.198 GB, free: 1.926 MB / 0.7605 GB Notification: Performance of matching and sorting (n=15): time 0.0007163/0.8351, allocations: 357.8 kB / 1.198 GB, free: 1.57 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.8352, allocations: 81.11 kB / 1.198 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.8353, allocations: 177.3 kB / 1.199 GB, free: 1.289 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.8354, allocations: 29.7 kB / 1.199 GB, free: 1.254 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 7.617e-05/0.8354, allocations: 140 kB / 1.199 GB, free: 1.113 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.223e-05/0.8355, allocations: 55.23 kB / 1.199 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.329e-05/0.8355, allocations: 8 kB / 1.199 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.8356, allocations: 326.8 kB / 1.199 GB, free: 0.7227 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.8358, allocations: 107.9 kB / 1.199 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.8361, allocations: 173.6 kB / 1.199 GB, free: 432 kB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000446/0.8365, allocations: 283.4 kB / 1.2 GB, free: 124 kB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.8366, allocations: 4 kB / 1.2 GB, free: 120 kB / 0.7605 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005733/0.8371, allocations: 319 kB / 1.2 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 8.327e-05/0.8372, allocations: 135.2 kB / 1.2 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.8372, allocations: 0 / 1.2 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.8373, allocations: 9.406 kB / 1.2 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.8376, allocations: 65.83 kB / 1.2 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.8376, allocations: 3.984 kB / 1.2 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.8378, allocations: 35.77 kB / 1.2 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.8378, allocations: 11.98 kB / 1.2 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.514e-06/0.8378, allocations: 4 kB / 1.2 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004336/0.8383, allocations: 243.6 kB / 1.2 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-06/0.8383, allocations: 0 / 1.2 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-06/0.8383, allocations: 4 kB / 1.2 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.8385, allocations: 56.11 kB / 1.2 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.8385, allocations: 9.094 kB / 1.2 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.8387, allocations: 23.89 kB / 1.2 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.8387, allocations: 8 kB / 1.2 GB, free: 15.18 MB / 0.7761 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001637/0.8389, allocations: 234.1 kB / 1.201 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.352e-05/0.8389, allocations: 15.81 kB / 1.201 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005196/0.8394, allocations: 284.9 kB / 1.201 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-06/0.8395, allocations: 7.984 kB / 1.201 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.8395, allocations: 0 / 1.201 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.8395, allocations: 0 / 1.201 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009815/0.8405, allocations: 0.6844 MB / 1.202 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.8405, allocations: 7.938 kB / 1.202 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/0.8407, allocations: 48.08 kB / 1.202 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.8407, allocations: 8 kB / 1.202 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.8407, allocations: 0.9375 kB / 1.202 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.563e-06/0.8408, allocations: 7.984 kB / 1.202 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.8408, allocations: 3.938 kB / 1.202 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000526/0.8413, allocations: 461.8 kB / 1.202 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.064e-05/0.8414, allocations: 108.9 kB / 1.202 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.8414, allocations: 4.844 kB / 1.202 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.8416, allocations: 27.97 kB / 1.202 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.385e-05/0.8417, allocations: 15.92 kB / 1.202 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.8417, allocations: 7.938 kB / 1.202 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001058/0.8418, allocations: 136.6 kB / 1.202 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8418, allocations: 0 / 1.202 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004531/0.8423, allocations: 91.75 kB / 1.203 GB, free: 12.93 MB / 0.7761 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 (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.0001282/0.8424, allocations: 115.2 kB / 1.203 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006765/0.8431, allocations: 385.8 kB / 1.203 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.8431, allocations: 1.312 kB / 1.203 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000208/0.8433, allocations: 115.9 kB / 1.203 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004447/0.8438, allocations: 44.58 kB / 1.203 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007317/0.8445, allocations: 0.4961 MB / 1.204 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.8448, allocations: 0.748 MB / 1.204 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002254/0.845, allocations: 75.47 kB / 1.204 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.262e-05/0.8451, allocations: 19.44 kB / 1.204 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of SimCode: time 3e-07/0.8451, allocations: 0 / 1.204 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of Templates: time 0.004302/0.8494, allocations: 2.099 MB / 1.207 GB, free: 8.844 MB / 0.7761 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)