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.331/1.331, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001155/0.001155, allocations: 181 kB / 326.5 MB, free: 2.246 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.869/1.869, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.001168/0.001168, allocations: 89.98 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003563, allocations: 9.938 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3029, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2002/0.5031, allocations: 147.8 MB / 1.044 GB, free: 11.85 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003429/0.5035, allocations: 99.88 kB / 1.045 GB, free: 11.75 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.564/1.068, allocations: 13.44 MB / 1.058 GB, free: 149.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.833e-06/1.068, allocations: 9.438 kB / 1.058 GB, free: 149.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.622e-05/1.068, allocations: 3.703 kB / 1.058 GB, free: 149.5 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.0007379/1.068, allocations: 494.9 kB / 1.058 GB, free: 149.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/1.068, allocations: 8.688 kB / 1.058 GB, free: 149.1 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.381e-05/1.068, allocations: 50.89 kB / 1.058 GB, free: 149 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006102/1.069, allocations: 83.48 kB / 1.058 GB, free: 149 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/1.069, allocations: 249.8 kB / 1.059 GB, free: 148.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/1.069, allocations: 11.33 kB / 1.059 GB, free: 148.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.864e-05/1.069, allocations: 13.56 kB / 1.059 GB, free: 148.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005563/1.07, allocations: 304.4 kB / 1.059 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/1.07, allocations: 3.562 kB / 1.059 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/1.07, allocations: 6.375 kB / 1.059 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.185e-05/1.07, allocations: 20.09 kB / 1.059 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000474/1.071, allocations: 266.5 kB / 1.059 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001607/1.072, allocations: 1.505 MB / 1.061 GB, free: 147.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004976/1.073, allocations: 265.2 kB / 1.061 GB, free: 147.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/1.073, allocations: 4.094 kB / 1.061 GB, free: 147.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/1.073, allocations: 34.5 kB / 1.061 GB, free: 147.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 2.064e-06/1.073, allocations: 0 / 1.061 GB, free: 147.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0008076/1.074, allocations: 363.7 kB / 1.061 GB, free: 147.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/1.074, allocations: 80.11 kB / 1.061 GB, free: 147.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/1.074, allocations: 159.1 kB / 1.061 GB, free: 147.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/1.074, allocations: 28.14 kB / 1.062 GB, free: 147.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.507e-05/1.074, allocations: 147.6 kB / 1.062 GB, free: 147.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.626e-05/1.074, allocations: 51.12 kB / 1.062 GB, free: 147.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.169e-05/1.074, allocations: 6.438 kB / 1.062 GB, free: 147.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.627e-05/1.074, allocations: 322.2 kB / 1.062 GB, free: 146.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/1.074, allocations: 110.6 kB / 1.062 GB, free: 146.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/1.075, allocations: 171 kB / 1.062 GB, free: 146.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/1.075, allocations: 122.6 kB / 1.062 GB, free: 146.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.075, allocations: 0 / 1.062 GB, free: 146.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005607/1.075, allocations: 323.1 kB / 1.063 GB, free: 146.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002041/1.076, allocations: 0.7069 MB / 1.063 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/1.076, allocations: 3.516 kB / 1.063 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/1.076, allocations: 3.062 kB / 1.063 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003071/1.076, allocations: 56.16 kB / 1.063 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/1.076, allocations: 9.859 kB / 1.063 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/1.076, allocations: 33.38 kB / 1.063 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/1.076, allocations: 10.03 kB / 1.064 GB, free: 145.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.858e-06/1.076, allocations: 6.469 kB / 1.064 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004652/1.077, allocations: 243.3 kB / 1.064 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/1.077, allocations: 2.781 kB / 1.064 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.529e-06/1.077, allocations: 6.844 kB / 1.064 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/1.077, allocations: 51.78 kB / 1.064 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/1.077, allocations: 5.594 kB / 1.064 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/1.077, allocations: 36.5 kB / 1.064 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/1.077, allocations: 5.844 kB / 1.064 GB, free: 145.9 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.0001824/1.077, allocations: 226.7 kB / 1.064 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.922e-05/1.077, allocations: 23.31 kB / 1.064 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005994/1.078, allocations: 279.3 kB / 1.064 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/1.078, allocations: 3.094 kB / 1.064 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/1.078, allocations: 0 / 1.064 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/1.078, allocations: 4.156 kB / 1.064 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/1.079, allocations: 0.6886 MB / 1.065 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/1.079, allocations: 0 / 1.065 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/1.08, allocations: 47.78 kB / 1.065 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/1.08, allocations: 0 / 1.065 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/1.08, allocations: 6.344 kB / 1.065 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.008e-05/1.08, allocations: 10.7 kB / 1.065 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/1.08, allocations: 10.78 kB / 1.065 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006476/1.08, allocations: 0.5044 MB / 1.066 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/1.08, allocations: 114.4 kB / 1.066 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.647e-05/1.08, allocations: 7.984 kB / 1.066 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/1.081, allocations: 20.75 kB / 1.066 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.108e-05/1.081, allocations: 17.03 kB / 1.066 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/1.081, allocations: 6.172 kB / 1.066 GB, free: 144.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001265/1.081, allocations: 133.2 kB / 1.066 GB, free: 144.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.081, allocations: 0 / 1.066 GB, free: 144.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006008/1.082, allocations: 89.95 kB / 1.066 GB, free: 144.7 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.001055/1.083, allocations: 1.404 MB / 1.067 GB, free: 143.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009275/1.084, allocations: 385.2 kB / 1.068 GB, free: 143.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/1.084, allocations: 0 / 1.068 GB, free: 143.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002456/1.084, allocations: 119.9 kB / 1.068 GB, free: 143.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/1.084, allocations: 36.86 kB / 1.068 GB, free: 143.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002516/1.087, allocations: 2.325 MB / 1.07 GB, free: 141.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/1.087, allocations: 0.7465 MB / 1.071 GB, free: 141.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002909/1.087, allocations: 78.31 kB / 1.071 GB, free: 141.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/1.087, allocations: 50.62 kB / 1.071 GB, free: 141.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.062e-06/1.087, allocations: 1.094 kB / 1.071 GB, free: 141.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01771/1.105, allocations: 3.793 MB / 1.075 GB, free: 140.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/1.105, allocations: 203.7 kB / 1.075 GB, free: 140.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/2.818, allocations: 0 / 1.075 GB, free: 140.7 MB / 0.698 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)