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/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.327/1.327, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009569/0.0009569, allocations: 176.4 kB / 327.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.4 MB / 0.5785 GB, free: 20.48 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006973/0.0006972, allocations: 80.3 kB / 0.6831 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003637, allocations: 13.06 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2113, allocations: 106.3 MB / 0.9012 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1721/0.3835, allocations: 147.8 MB / 1.046 GB, free: 12.08 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.3838, allocations: 99.94 kB / 1.046 GB, free: 11.98 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3793/0.7631, allocations: 13.45 MB / 1.059 GB, free: 149.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.465e-06/0.7632, allocations: 2.469 kB / 1.059 GB, free: 149.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.386e-05/0.7632, allocations: 5.75 kB / 1.059 GB, free: 149.6 MB / 0.698 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.0005552/0.7638, allocations: 497.9 kB / 1.059 GB, free: 149.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.7638, allocations: 8.781 kB / 1.059 GB, free: 149.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005459/0.7644, allocations: 81.2 kB / 1.059 GB, free: 149.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.7646, allocations: 244.5 kB / 1.06 GB, free: 149 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.7646, allocations: 14 kB / 1.06 GB, free: 149 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.7647, allocations: 19.59 kB / 1.06 GB, free: 149 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004165/0.7651, allocations: 301.6 kB / 1.06 GB, free: 148.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.7651, allocations: 4.031 kB / 1.06 GB, free: 148.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/0.7651, allocations: 14.91 kB / 1.06 GB, free: 148.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-05/0.7652, allocations: 18.12 kB / 1.06 GB, free: 148.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000423/0.7656, allocations: 269.2 kB / 1.06 GB, free: 148.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/0.7668, allocations: 1.504 MB / 1.062 GB, free: 147.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004382/0.7673, allocations: 263.4 kB / 1.062 GB, free: 147.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/0.7675, allocations: 131.1 kB / 1.062 GB, free: 147.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.7675, allocations: 5.125 kB / 1.062 GB, free: 147.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.7676, allocations: 39.38 kB / 1.062 GB, free: 147.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.7676, allocations: 0 / 1.062 GB, free: 147.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.000708/0.7683, allocations: 359 kB / 1.062 GB, free: 147.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.7683, allocations: 86.52 kB / 1.063 GB, free: 147.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.7685, allocations: 169 kB / 1.063 GB, free: 147.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.7685, allocations: 29.22 kB / 1.063 GB, free: 147.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.306e-05/0.7686, allocations: 146 kB / 1.063 GB, free: 147.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.7686, allocations: 49.83 kB / 1.063 GB, free: 147.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.124e-05/0.7686, allocations: 6.594 kB / 1.063 GB, free: 147.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.515e-05/0.7687, allocations: 325.7 kB / 1.063 GB, free: 146.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.7689, allocations: 108.9 kB / 1.063 GB, free: 146.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/0.7691, allocations: 166.5 kB / 1.063 GB, free: 146.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003919/0.7695, allocations: 297.2 kB / 1.064 GB, free: 146.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.7695, allocations: 0 / 1.064 GB, free: 146.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004831/0.77, allocations: 315.6 kB / 1.064 GB, free: 146.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.606e-05/0.7701, allocations: 142.1 kB / 1.064 GB, free: 146.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.7701, allocations: 0 / 1.064 GB, free: 146.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.7701, allocations: 6.25 kB / 1.064 GB, free: 146.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002623/0.7704, allocations: 55.69 kB / 1.064 GB, free: 146.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.7704, allocations: 3.594 kB / 1.064 GB, free: 146.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.7706, allocations: 43.78 kB / 1.064 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.7706, allocations: 6.453 kB / 1.064 GB, free: 146.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.971e-06/0.7706, allocations: 3.156 kB / 1.064 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004047/0.771, allocations: 253.2 kB / 1.065 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.746e-06/0.771, allocations: 2.688 kB / 1.065 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.975e-06/0.771, allocations: 2.75 kB / 1.065 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.7712, allocations: 53.28 kB / 1.065 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.7712, allocations: 4.266 kB / 1.065 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.7714, allocations: 30.78 kB / 1.065 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.7714, allocations: 14.47 kB / 1.065 GB, free: 146.5 MB / 0.698 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.0001119/0.7715, allocations: 223.9 kB / 1.065 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.288e-05/0.7716, allocations: 17.48 kB / 1.065 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005055/0.7721, allocations: 284.1 kB / 1.065 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.7721, allocations: 0.6094 kB / 1.065 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.7721, allocations: 2.969 kB / 1.065 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.7721, allocations: 1.172 kB / 1.065 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008777/0.773, allocations: 0.6893 MB / 1.066 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.773, allocations: 6.375 kB / 1.066 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.7733, allocations: 45.23 kB / 1.066 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.7733, allocations: 3.562 kB / 1.066 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.7733, allocations: 3.812 kB / 1.066 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.7733, allocations: 3.594 kB / 1.066 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.7733, allocations: 9.656 kB / 1.066 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000432/0.7737, allocations: 465.7 kB / 1.066 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.207e-05/0.7738, allocations: 114.5 kB / 1.066 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.7739, allocations: 6.5 kB / 1.066 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.7741, allocations: 19.17 kB / 1.066 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.945e-05/0.7741, allocations: 19.02 kB / 1.066 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.7742, allocations: 10.3 kB / 1.067 GB, free: 145.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.695e-05/0.7742, allocations: 132.7 kB / 1.067 GB, free: 145.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7743, allocations: 0 / 1.067 GB, free: 145.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000437/0.7747, allocations: 94.69 kB / 1.067 GB, free: 145.5 MB / 0.698 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.0001128/0.7748, allocations: 111.4 kB / 1.067 GB, free: 145.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006516/0.7755, allocations: 382.5 kB / 1.067 GB, free: 145.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.7755, allocations: 0.875 kB / 1.067 GB, free: 145.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.7757, allocations: 127.9 kB / 1.067 GB, free: 145.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.7761, allocations: 35.14 kB / 1.067 GB, free: 145.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006714/0.7768, allocations: 0.5068 MB / 1.068 GB, free: 145.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/0.777, allocations: 0.7479 MB / 1.069 GB, free: 144.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002286/0.7773, allocations: 73.16 kB / 1.069 GB, free: 144.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.713e-05/0.7773, allocations: 18.03 kB / 1.069 GB, free: 144.4 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/0.7773, allocations: 4.844 kB / 1.069 GB, free: 144.4 MB / 0.698 GB Notification: Performance of Templates: time 0.005345/0.7827, allocations: 2.096 MB / 1.071 GB, free: 144.3 MB / 0.698 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)