Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.151/2.151, allocations: 251.1 MB / 266.7 MB, free: 11.55 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.001342/0.001341, allocations: 186.3 kB / 326.2 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.501/2.501, allocations: 205.4 MB / 0.5772 GB, free: 20.84 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.0009739/0.0009736, allocations: 83.06 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000488/0.0004881, allocations: 16.03 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2061, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2429/0.4491, allocations: 147.6 MB / 1.044 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003615/0.4495, allocations: 95.94 kB / 1.044 GB, free: 13.67 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.05739/0.5069, allocations: 13.47 MB / 1.057 GB, free: 52 kB / 0.698 GB Notification: Performance of FrontEnd: time 2.124e-06/0.507, allocations: 0 / 1.057 GB, free: 52 kB / 0.698 GB Notification: Performance of Transformations before backend: time 2.594e-05/0.507, allocations: 8 kB / 1.057 GB, free: 44 kB / 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.6294/1.136, allocations: 492.4 kB / 1.057 GB, free: 150.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/1.136, allocations: 9.188 kB / 1.057 GB, free: 150.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000995/1.138, allocations: 84.03 kB / 1.057 GB, free: 150.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003802/1.138, allocations: 240.8 kB / 1.058 GB, free: 150.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/1.138, allocations: 11.3 kB / 1.058 GB, free: 150.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.69e-05/1.138, allocations: 12.86 kB / 1.058 GB, free: 150.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009033/1.139, allocations: 306 kB / 1.058 GB, free: 150.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/1.139, allocations: 192 / 1.058 GB, free: 150.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.078e-05/1.139, allocations: 9.797 kB / 1.058 GB, free: 150.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.14e-05/1.139, allocations: 24.88 kB / 1.058 GB, free: 150.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009603/1.14, allocations: 267.8 kB / 1.058 GB, free: 150.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00227/1.142, allocations: 1.51 MB / 1.06 GB, free: 149 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008168/1.143, allocations: 260.8 kB / 1.06 GB, free: 148.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003868/1.144, allocations: 138.2 kB / 1.06 GB, free: 148.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/1.144, allocations: 2.906 kB / 1.06 GB, free: 148.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/1.144, allocations: 36.75 kB / 1.06 GB, free: 148.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 2.776e-06/1.144, allocations: 0 / 1.06 GB, free: 148.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.00124/1.145, allocations: 363.2 kB / 1.06 GB, free: 148.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/1.145, allocations: 83.55 kB / 1.061 GB, free: 148.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/1.145, allocations: 168.2 kB / 1.061 GB, free: 148.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/1.145, allocations: 28.58 kB / 1.061 GB, free: 148.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.946e-05/1.145, allocations: 140.6 kB / 1.061 GB, free: 148.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.928e-05/1.146, allocations: 61.66 kB / 1.061 GB, free: 148.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.112e-05/1.146, allocations: 6.688 kB / 1.061 GB, free: 148.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.05e-05/1.146, allocations: 326 kB / 1.061 GB, free: 148.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003405/1.146, allocations: 106.5 kB / 1.061 GB, free: 148.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004173/1.146, allocations: 169.1 kB / 1.062 GB, free: 148.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000452/1.147, allocations: 134.1 kB / 1.062 GB, free: 148.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.147, allocations: 3.25 kB / 1.062 GB, free: 148.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009262/1.148, allocations: 317.4 kB / 1.062 GB, free: 148 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.537e-05/1.148, allocations: 142.3 kB / 1.062 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/1.148, allocations: 0 / 1.062 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/1.148, allocations: 3.578 kB / 1.062 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005374/1.149, allocations: 60.36 kB / 1.062 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/1.149, allocations: 6.234 kB / 1.062 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003668/1.149, allocations: 39.66 kB / 1.062 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/1.149, allocations: 5.781 kB / 1.062 GB, free: 147.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/1.149, allocations: 4.594 kB / 1.062 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007458/1.15, allocations: 245.4 kB / 1.062 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/1.15, allocations: 6.297 kB / 1.062 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.603e-06/1.15, allocations: 3.031 kB / 1.062 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004156/1.15, allocations: 60.41 kB / 1.063 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/1.15, allocations: 2.719 kB / 1.063 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003045/1.151, allocations: 31.81 kB / 1.063 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/1.151, allocations: 6.781 kB / 1.063 GB, free: 147.8 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.0002398/1.151, allocations: 225.8 kB / 1.063 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.376e-05/1.151, allocations: 17.42 kB / 1.063 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008988/1.152, allocations: 284.9 kB / 1.063 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/1.152, allocations: 2.469 kB / 1.063 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.152, allocations: 0.6562 kB / 1.063 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/1.152, allocations: 1.188 kB / 1.063 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/1.154, allocations: 0.6843 MB / 1.064 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/1.154, allocations: 4.734 kB / 1.064 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004463/1.154, allocations: 48.17 kB / 1.064 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/1.154, allocations: 0.5625 kB / 1.064 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/1.154, allocations: 6.188 kB / 1.064 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/1.154, allocations: 4.922 kB / 1.064 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/1.154, allocations: 9.562 kB / 1.064 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008803/1.155, allocations: 458.1 kB / 1.064 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/1.155, allocations: 123.2 kB / 1.064 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.572e-05/1.155, allocations: 3.703 kB / 1.064 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003519/1.156, allocations: 22.92 kB / 1.064 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.165e-05/1.156, allocations: 19.91 kB / 1.064 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/1.156, allocations: 2.938 kB / 1.064 GB, free: 146.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001498/1.156, allocations: 131.5 kB / 1.065 GB, free: 146.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.156, allocations: 0 / 1.065 GB, free: 146.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006877/1.157, allocations: 93.25 kB / 1.065 GB, free: 146.8 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.0001875/1.157, allocations: 115.3 kB / 1.065 GB, free: 146.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00122/1.158, allocations: 389.1 kB / 1.065 GB, free: 146.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/1.158, allocations: 0 / 1.065 GB, free: 146.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003866/1.158, allocations: 116.1 kB / 1.065 GB, free: 146.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006499/1.159, allocations: 44.19 kB / 1.065 GB, free: 146.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/1.16, allocations: 0.4978 MB / 1.066 GB, free: 146.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/1.16, allocations: 0.7481 MB / 1.066 GB, free: 145.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003844/1.161, allocations: 72.28 kB / 1.067 GB, free: 145.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/1.161, allocations: 23.5 kB / 1.067 GB, free: 145.7 MB / 0.698 GB Notification: Performance of SimCode: time 9.11e-07/1.161, allocations: 0 / 1.067 GB, free: 145.7 MB / 0.698 GB Notification: Performance of Templates: time 0.00828/1.169, allocations: 2.074 MB / 1.069 GB, free: 145.6 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)