Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.762/1.762, allocations: 292.6 MB / 307.5 MB, free: 5.23 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.001024/0.001024, allocations: 185 kB / 377.1 MB, free: 1.539 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.66/1.66, allocations: 205.4 MB / 0.6366 GB, free: 8.625 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008457/0.0008457, allocations: 87.05 kB / 0.7509 GB, free: 63.2 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003291/0.0003292, allocations: 11.98 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2782, allocations: 116.3 MB / 0.9884 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7924/1.071, allocations: 155 MB / 1.14 GB, free: 22.82 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00033/1.071, allocations: 98.92 kB / 1.14 GB, free: 22.75 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03335/1.104, allocations: 13.44 MB / 1.153 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.158e-06/1.104, allocations: 0 / 1.153 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.888e-05/1.105, allocations: 11.94 kB / 1.153 GB, free: 13.41 MB / 0.7292 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.0008074/1.105, allocations: 0.4915 MB / 1.154 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/1.105, allocations: 12.02 kB / 1.154 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.376e-05/1.105, allocations: 50.92 kB / 1.154 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006251/1.106, allocations: 84.03 kB / 1.154 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/1.106, allocations: 234.6 kB / 1.154 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/1.106, allocations: 12 kB / 1.154 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.589e-05/1.107, allocations: 22.56 kB / 1.154 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005162/1.107, allocations: 301.4 kB / 1.154 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/1.107, allocations: 4 kB / 1.154 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/1.107, allocations: 8 kB / 1.154 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.934e-05/1.107, allocations: 20.73 kB / 1.154 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004592/1.108, allocations: 273.8 kB / 1.155 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/1.109, allocations: 1.509 MB / 1.156 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004368/1.11, allocations: 259.6 kB / 1.156 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/1.11, allocations: 4 kB / 1.156 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/1.11, allocations: 30.56 kB / 1.156 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 3.686e-06/1.11, allocations: 3.984 kB / 1.156 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0007168/1.11, allocations: 365 kB / 1.157 GB, free: 9.871 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/1.11, allocations: 85.23 kB / 1.157 GB, free: 9.77 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/1.11, allocations: 158.1 kB / 1.157 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/1.111, allocations: 25.7 kB / 1.157 GB, free: 9.586 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.176e-05/1.111, allocations: 142 kB / 1.157 GB, free: 9.453 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.488e-05/1.111, allocations: 50.59 kB / 1.157 GB, free: 9.406 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.148e-05/1.111, allocations: 4 kB / 1.157 GB, free: 9.402 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.235e-05/1.111, allocations: 331.8 kB / 1.157 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/1.111, allocations: 107.7 kB / 1.157 GB, free: 8.988 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/1.111, allocations: 169.2 kB / 1.158 GB, free: 8.816 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/1.111, allocations: 126.2 kB / 1.158 GB, free: 8.711 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.111, allocations: 0 / 1.158 GB, free: 8.711 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000488/1.112, allocations: 323.8 kB / 1.158 GB, free: 8.43 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001455/1.112, allocations: 0.6994 MB / 1.159 GB, free: 7.676 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/1.112, allocations: 3.953 kB / 1.159 GB, free: 7.672 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/1.112, allocations: 4 kB / 1.159 GB, free: 7.668 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/1.112, allocations: 60.7 kB / 1.159 GB, free: 7.609 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/1.112, allocations: 3.984 kB / 1.159 GB, free: 7.605 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/1.113, allocations: 43.67 kB / 1.159 GB, free: 7.562 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/1.113, allocations: 17.41 kB / 1.159 GB, free: 7.547 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.883e-06/1.113, allocations: 4 kB / 1.159 GB, free: 7.543 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003806/1.113, allocations: 240.5 kB / 1.159 GB, free: 7.309 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-06/1.113, allocations: 4 kB / 1.159 GB, free: 7.305 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.357e-06/1.113, allocations: 0 / 1.159 GB, free: 7.305 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002024/1.113, allocations: 56.83 kB / 1.159 GB, free: 7.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/1.113, allocations: 7.938 kB / 1.159 GB, free: 7.242 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/1.113, allocations: 27.83 kB / 1.159 GB, free: 7.215 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/1.113, allocations: 8 kB / 1.159 GB, free: 7.207 MB / 0.7292 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.0001424/1.114, allocations: 237.1 kB / 1.159 GB, free: 6.965 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.24e-05/1.114, allocations: 11.91 kB / 1.159 GB, free: 6.953 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004765/1.114, allocations: 277.3 kB / 1.16 GB, free: 6.676 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/1.114, allocations: 11.98 kB / 1.16 GB, free: 6.664 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/1.114, allocations: 0 / 1.16 GB, free: 6.664 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/1.114, allocations: 0 / 1.16 GB, free: 6.664 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008295/1.115, allocations: 0.6838 MB / 1.16 GB, free: 5.914 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/1.115, allocations: 7.875 kB / 1.16 GB, free: 5.906 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/1.115, allocations: 43.95 kB / 1.16 GB, free: 5.863 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/1.115, allocations: 4 kB / 1.16 GB, free: 5.859 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/1.115, allocations: 8 kB / 1.16 GB, free: 5.852 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/1.115, allocations: 3.984 kB / 1.16 GB, free: 5.848 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.115, allocations: 7.953 kB / 1.16 GB, free: 5.84 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004469/1.116, allocations: 0.5063 MB / 1.161 GB, free: 5.273 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.157e-05/1.116, allocations: 108.9 kB / 1.161 GB, free: 5.148 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/1.116, allocations: 8 kB / 1.161 GB, free: 5.141 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/1.116, allocations: 23.97 kB / 1.161 GB, free: 5.117 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.85e-05/1.116, allocations: 16.94 kB / 1.161 GB, free: 5.102 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/1.116, allocations: 7.938 kB / 1.161 GB, free: 5.094 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.211e-05/1.116, allocations: 135.5 kB / 1.161 GB, free: 4.961 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.31e-07/1.116, allocations: 0 / 1.161 GB, free: 4.961 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004742/1.117, allocations: 95.78 kB / 1.161 GB, free: 4.867 MB / 0.7292 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.0007245/1.117, allocations: 1.395 MB / 1.163 GB, free: 3.414 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006024/1.118, allocations: 386.8 kB / 1.163 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/1.118, allocations: 4.125 kB / 1.163 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001971/1.118, allocations: 120.6 kB / 1.163 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/1.119, allocations: 35.05 kB / 1.163 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/1.121, allocations: 2.317 MB / 1.165 GB, free: 488 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/1.121, allocations: 0.7558 MB / 1.166 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000225/1.121, allocations: 73.47 kB / 1.166 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/1.121, allocations: 44.3 kB / 1.166 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of SimCode: time 3.41e-07/1.121, allocations: 4 kB / 1.166 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01843/1.14, allocations: 3.784 MB / 1.17 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000213/1.14, allocations: 188.8 kB / 1.17 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.808/2.948, allocations: 5.938 kB / 1.17 GB, free: 11.73 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)