Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.738/1.738, allocations: 288.2 MB / 303.2 MB, free: 8.129 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.001262/0.001262, allocations: 174.3 kB / 371.8 MB, free: 10.32 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.788/1.788, allocations: 205.4 MB / 0.6305 GB, free: 10.05 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 93.09 kB / 0.7439 GB, free: 5.984 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004163/0.0004163, allocations: 11.69 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2355, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8033/1.039, allocations: 154.1 MB / 1.13 GB, free: 16.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003421/1.039, allocations: 98.58 kB / 1.13 GB, free: 16.49 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02962/1.069, allocations: 13.45 MB / 1.143 GB, free: 27.15 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.067e-06/1.069, allocations: 3.938 kB / 1.143 GB, free: 27.14 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.026e-05/1.069, allocations: 7.438 kB / 1.143 GB, free: 27.14 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.0008522/1.07, allocations: 499.3 kB / 1.144 GB, free: 26.69 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/1.07, allocations: 11.67 kB / 1.144 GB, free: 26.69 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.673e-05/1.07, allocations: 51.36 kB / 1.144 GB, free: 26.64 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006214/1.071, allocations: 89.06 kB / 1.144 GB, free: 26.61 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/1.071, allocations: 234.6 kB / 1.144 GB, free: 26.38 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/1.071, allocations: 14.89 kB / 1.144 GB, free: 26.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.402e-05/1.071, allocations: 11.09 kB / 1.144 GB, free: 26.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005146/1.072, allocations: 302.1 kB / 1.144 GB, free: 26.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/1.072, allocations: 0 / 1.144 GB, free: 26.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.619e-05/1.072, allocations: 7.625 kB / 1.144 GB, free: 26.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.406e-05/1.072, allocations: 30.16 kB / 1.144 GB, free: 26.22 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004659/1.072, allocations: 263.8 kB / 1.145 GB, free: 26.17 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001647/1.074, allocations: 1.508 MB / 1.146 GB, free: 24.86 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004275/1.074, allocations: 262.6 kB / 1.146 GB, free: 24.77 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/1.074, allocations: 3.594 kB / 1.146 GB, free: 24.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/1.074, allocations: 36.97 kB / 1.146 GB, free: 24.73 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/1.074, allocations: 0 / 1.146 GB, free: 24.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.000721/1.075, allocations: 359.1 kB / 1.147 GB, free: 24.62 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.634e-05/1.075, allocations: 80.8 kB / 1.147 GB, free: 24.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/1.075, allocations: 160.5 kB / 1.147 GB, free: 24.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/1.075, allocations: 29.39 kB / 1.147 GB, free: 24.38 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/1.075, allocations: 138.4 kB / 1.147 GB, free: 24.26 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.266e-05/1.075, allocations: 53.39 kB / 1.147 GB, free: 24.22 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.315e-05/1.075, allocations: 3.438 kB / 1.147 GB, free: 24.22 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001475/1.076, allocations: 329.5 kB / 1.147 GB, free: 23.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/1.076, allocations: 108.4 kB / 1.148 GB, free: 23.88 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/1.076, allocations: 168.6 kB / 1.148 GB, free: 23.79 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002098/1.076, allocations: 128.2 kB / 1.148 GB, free: 23.77 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/1.076, allocations: 0 / 1.148 GB, free: 23.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004877/1.077, allocations: 315.2 kB / 1.148 GB, free: 23.67 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004032/1.077, allocations: 0.7079 MB / 1.149 GB, free: 22.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/1.077, allocations: 3.953 kB / 1.149 GB, free: 22.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/1.077, allocations: 3.875 kB / 1.149 GB, free: 22.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003134/1.078, allocations: 65.48 kB / 1.149 GB, free: 22.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/1.078, allocations: 0 / 1.149 GB, free: 22.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/1.078, allocations: 49.97 kB / 1.149 GB, free: 22.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/1.078, allocations: 3.875 kB / 1.149 GB, free: 22.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.033e-06/1.078, allocations: 3.875 kB / 1.149 GB, free: 22.88 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004138/1.078, allocations: 248.2 kB / 1.149 GB, free: 22.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-06/1.078, allocations: 0 / 1.149 GB, free: 22.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.448e-06/1.078, allocations: 3.906 kB / 1.149 GB, free: 22.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/1.079, allocations: 53.44 kB / 1.149 GB, free: 22.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-06/1.079, allocations: 3.844 kB / 1.149 GB, free: 22.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/1.079, allocations: 38.64 kB / 1.149 GB, free: 22.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/1.079, allocations: 3.844 kB / 1.149 GB, free: 22.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.0001886/1.079, allocations: 230.3 kB / 1.15 GB, free: 22.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.279e-05/1.079, allocations: 11.75 kB / 1.15 GB, free: 22.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005062/1.079, allocations: 284.2 kB / 1.15 GB, free: 22.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/1.079, allocations: 3.844 kB / 1.15 GB, free: 22.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.079, allocations: 4 kB / 1.15 GB, free: 22.49 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/1.079, allocations: 0 / 1.15 GB, free: 22.49 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009709/1.08, allocations: 0.694 MB / 1.151 GB, free: 22.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/1.08, allocations: 3.875 kB / 1.151 GB, free: 22.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/1.081, allocations: 42.95 kB / 1.151 GB, free: 22.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/1.081, allocations: 3.812 kB / 1.151 GB, free: 22.03 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/1.081, allocations: 7.094 kB / 1.151 GB, free: 22.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/1.081, allocations: 0 / 1.151 GB, free: 22.03 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/1.081, allocations: 7.797 kB / 1.151 GB, free: 22.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005245/1.081, allocations: 0.5076 MB / 1.151 GB, free: 21.64 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/1.081, allocations: 112.1 kB / 1.151 GB, free: 21.54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/1.081, allocations: 6.719 kB / 1.151 GB, free: 21.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/1.082, allocations: 23.56 kB / 1.151 GB, free: 21.52 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.888e-05/1.082, allocations: 23.03 kB / 1.151 GB, free: 21.51 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/1.082, allocations: 3.812 kB / 1.151 GB, free: 21.51 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.388e-05/1.082, allocations: 133.4 kB / 1.151 GB, free: 21.42 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.082, allocations: 0 / 1.151 GB, free: 21.42 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004858/1.082, allocations: 93.67 kB / 1.151 GB, free: 21.41 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.0009343/1.083, allocations: 1.4 MB / 1.153 GB, free: 20.16 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006592/1.084, allocations: 386 kB / 1.153 GB, free: 20.08 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.084, allocations: 4.125 kB / 1.153 GB, free: 20.08 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001909/1.084, allocations: 124 kB / 1.153 GB, free: 20.05 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/1.085, allocations: 37.34 kB / 1.153 GB, free: 20.04 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/1.087, allocations: 2.319 MB / 1.156 GB, free: 18.23 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/1.087, allocations: 0.7569 MB / 1.156 GB, free: 17.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002048/1.087, allocations: 67.45 kB / 1.156 GB, free: 17.47 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.816e-05/1.087, allocations: 53.75 kB / 1.156 GB, free: 17.46 MB / 0.698 GB Notification: Performance of SimCode: time 3.11e-07/1.087, allocations: 0 / 1.156 GB, free: 17.46 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01452/1.102, allocations: 3.792 MB / 1.16 GB, free: 14.68 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001659/1.102, allocations: 203.9 kB / 1.16 GB, free: 14.44 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.639/2.741, allocations: 0 / 1.16 GB, free: 14.44 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)