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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.413/1.413, allocations: 249.5 MB / 257 MB, free: 6.918 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009395/0.0009396, allocations: 176.9 kB / 316.3 MB, free: 3.242 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.585/1.585, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.0008091/0.0008092, allocations: 86.42 kB / 0.6714 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.969e-05/1.972e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.22, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7797/0.9998, allocations: 148 MB / 1.03 GB, free: 7.121 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003236/1, allocations: 93.31 kB / 1.03 GB, free: 7.07 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03133/1.031, allocations: 13.32 MB / 1.043 GB, free: 12 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.623e-06/1.032, allocations: 0 / 1.043 GB, free: 12 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.087e-05/1.032, allocations: 8 kB / 1.043 GB, free: 12 MB / 0.6667 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.0007166/1.032, allocations: 478.4 kB / 1.043 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/1.032, allocations: 8.031 kB / 1.043 GB, free: 11.49 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006152/1.033, allocations: 87.62 kB / 1.043 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/1.033, allocations: 244.1 kB / 1.044 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/1.033, allocations: 4 kB / 1.044 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/1.033, allocations: 8 kB / 1.044 GB, free: 11.13 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003152/1.034, allocations: 177.4 kB / 1.044 GB, free: 11.01 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003743/1.034, allocations: 270.8 kB / 1.044 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/1.034, allocations: 0 / 1.044 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/1.034, allocations: 3.984 kB / 1.044 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.045e-05/1.034, allocations: 23.92 kB / 1.044 GB, free: 10.75 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001564/1.036, allocations: 1.457 MB / 1.046 GB, free: 9.277 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000381/1.036, allocations: 238.6 kB / 1.046 GB, free: 9.086 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/1.036, allocations: 111.7 kB / 1.046 GB, free: 9.004 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/1.036, allocations: 4 kB / 1.046 GB, free: 9 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/1.036, allocations: 30.56 kB / 1.046 GB, free: 8.961 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=15): time 1.854e-06/1.036, allocations: 0 / 1.046 GB, free: 8.961 MB / 0.6667 GB Notification: Performance of matching and sorting (n=15): time 0.0004058/1.037, allocations: 219.6 kB / 1.046 GB, free: 8.785 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/1.037, allocations: 84.73 kB / 1.046 GB, free: 8.688 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/1.037, allocations: 151.1 kB / 1.046 GB, free: 8.547 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/1.037, allocations: 25.7 kB / 1.046 GB, free: 8.516 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 9.901e-05/1.037, allocations: 141.6 kB / 1.047 GB, free: 8.387 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 4.727e-05/1.037, allocations: 53.7 kB / 1.047 GB, free: 8.34 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.181e-05/1.037, allocations: 0 / 1.047 GB, free: 8.34 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001257/1.037, allocations: 326.2 kB / 1.047 GB, free: 8.016 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/1.037, allocations: 86.89 kB / 1.047 GB, free: 7.961 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/1.038, allocations: 154.3 kB / 1.047 GB, free: 7.82 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/1.038, allocations: 106.3 kB / 1.047 GB, free: 7.746 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.038, allocations: 0 / 1.047 GB, free: 7.746 MB / 0.6667 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003629/1.038, allocations: 263.6 kB / 1.047 GB, free: 7.547 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002815/1.038, allocations: 0.7002 MB / 1.048 GB, free: 6.805 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.078e-06/1.038, allocations: 4 kB / 1.048 GB, free: 6.801 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/1.038, allocations: 3.953 kB / 1.048 GB, free: 6.797 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000327/1.039, allocations: 59.89 kB / 1.048 GB, free: 6.738 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/1.039, allocations: 4 kB / 1.048 GB, free: 6.734 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/1.039, allocations: 31.72 kB / 1.048 GB, free: 6.703 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/1.039, allocations: 11.5 kB / 1.048 GB, free: 6.695 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.035e-06/1.039, allocations: 4 kB / 1.048 GB, free: 6.691 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002635/1.039, allocations: 189.6 kB / 1.048 GB, free: 6.551 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-06/1.039, allocations: 0 / 1.048 GB, free: 6.551 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.15e-06/1.039, allocations: 4 kB / 1.048 GB, free: 6.547 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/1.04, allocations: 55.64 kB / 1.049 GB, free: 6.496 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/1.04, allocations: 7.938 kB / 1.049 GB, free: 6.488 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/1.04, allocations: 28.12 kB / 1.049 GB, free: 6.461 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/1.04, allocations: 8 kB / 1.049 GB, free: 6.453 MB / 0.6667 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 () * 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 9.059e-05/1.04, allocations: 108.9 kB / 1.049 GB, free: 6.34 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002967/1.04, allocations: 211.3 kB / 1.049 GB, free: 6.172 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.973e-05/1.04, allocations: 15.81 kB / 1.049 GB, free: 6.156 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003513/1.041, allocations: 233.9 kB / 1.049 GB, free: 5.98 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/1.041, allocations: 4 kB / 1.049 GB, free: 5.977 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/1.041, allocations: 11.92 kB / 1.049 GB, free: 5.965 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.247e-06/1.041, allocations: 4.031 kB / 1.049 GB, free: 5.961 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00073/1.041, allocations: 0.6002 MB / 1.05 GB, free: 5.391 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/1.041, allocations: 0 / 1.05 GB, free: 5.391 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/1.042, allocations: 51.02 kB / 1.05 GB, free: 5.344 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/1.042, allocations: 4.125 kB / 1.05 GB, free: 5.34 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/1.042, allocations: 4 kB / 1.05 GB, free: 5.336 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/1.042, allocations: 4 kB / 1.05 GB, free: 5.332 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.042, allocations: 3.953 kB / 1.05 GB, free: 5.328 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003835/1.042, allocations: 475.4 kB / 1.05 GB, free: 4.859 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/1.042, allocations: 119.7 kB / 1.05 GB, free: 4.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/1.042, allocations: 4 kB / 1.05 GB, free: 4.727 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/1.042, allocations: 23.97 kB / 1.05 GB, free: 4.703 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.336e-05/1.042, allocations: 15.44 kB / 1.05 GB, free: 4.691 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/1.042, allocations: 4 kB / 1.05 GB, free: 4.688 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 7.925e-05/1.043, allocations: 121.3 kB / 1.051 GB, free: 4.582 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.21e-07/1.043, allocations: 0 / 1.051 GB, free: 4.582 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004646/1.043, allocations: 79.75 kB / 1.051 GB, free: 4.504 MB / 0.6667 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 () * 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.0007786/1.044, allocations: 1.361 MB / 1.052 GB, free: 3.141 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004198/1.044, allocations: 318.4 kB / 1.052 GB, free: 2.922 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.044, allocations: 0 / 1.052 GB, free: 2.922 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001307/1.044, allocations: 95.2 kB / 1.052 GB, free: 2.852 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/1.045, allocations: 35.34 kB / 1.052 GB, free: 2.82 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007823/1.046, allocations: 365.1 kB / 1.053 GB, free: 2.445 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/1.046, allocations: 0.7553 MB / 1.053 GB, free: 1.668 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002212/1.046, allocations: 81.75 kB / 1.054 GB, free: 1.59 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/1.046, allocations: 51.86 kB / 1.054 GB, free: 1.566 MB / 0.6667 GB Notification: Performance of SimCode: time 2.4e-07/1.046, allocations: 0 / 1.054 GB, free: 1.566 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02098/1.067, allocations: 3.564 MB / 1.057 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/1.067, allocations: 164.3 kB / 1.057 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.576/2.643, allocations: 0 / 1.057 GB, free: 13.84 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)