Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Simplified5,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Simplified5,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00225/0.00225, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.201/1.201, allocations: 133.6 MB / 141.6 MB, free: 2.863 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.257/2.257, allocations: 221.5 MB / 395.4 MB, free: 10.86 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 105.5 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.876e-05/2.89e-05, allocations: 0 / 0.5535 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8528/0.8529, allocations: 82.3 MB / 0.6339 GB, free: 40.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.652/2.505, allocations: 424.8 MB / 1.049 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0007131/2.506, allocations: 91.02 kB / 1.049 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 79.14/81.64, allocations: 10.42 GB / 11.47 GB, free: 52.73 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.078e-06/81.64, allocations: 0 / 11.47 GB, free: 52.73 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.003864/81.65, allocations: 363.8 kB / 11.47 GB, free: 52.67 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.06985/81.72, allocations: 11.19 MB / 11.48 GB, free: 47.96 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.648e-05/81.72, allocations: 9.062 kB / 11.48 GB, free: 47.96 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02357/81.74, allocations: 2.232 MB / 11.48 GB, free: 47.17 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09393/81.83, allocations: 18.75 MB / 11.5 GB, free: 45.05 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008874/81.83, allocations: 196.3 kB / 11.5 GB, free: 45.05 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007387/81.84, allocations: 438.5 kB / 11.5 GB, free: 45.05 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04572/81.89, allocations: 17.89 MB / 11.52 GB, free: 45.02 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05279/81.94, allocations: 12.22 MB / 11.53 GB, free: 44.44 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009529/81.94, allocations: 6.344 kB / 11.53 GB, free: 44.44 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00759/81.95, allocations: 6.953 kB / 11.53 GB, free: 44.44 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005069/81.95, allocations: 149 kB / 11.53 GB, free: 44.44 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2342/82.18, allocations: 69.19 MB / 11.6 GB, free: 12.62 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03315/82.22, allocations: 10.23 MB / 11.61 GB, free: 12.46 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02127/82.24, allocations: 8.781 MB / 11.62 GB, free: 12.39 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.1119/82.35, allocations: 29.4 MB / 11.65 GB, free: 20.11 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02334/82.37, allocations: 7.989 MB / 11.65 GB, free: 20 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.07841/82.45, allocations: 15.1 MB / 11.67 GB, free: 19.77 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=393): time 0.0001403/82.45, allocations: 3.094 kB / 11.67 GB, free: 19.77 MB / 0.9636 GB Notification: Performance of matching and sorting (n=395): time 0.1988/82.65, allocations: 37.21 MB / 11.71 GB, free: 16.9 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002267/82.65, allocations: 95.98 kB / 11.71 GB, free: 16.83 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06027/82.71, allocations: 11.28 MB / 11.72 GB, free: 16.12 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.006103/82.72, allocations: 39.98 kB / 11.72 GB, free: 16.09 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0188/82.74, allocations: 6.023 MB / 11.72 GB, free: 14.74 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.009108/82.75, allocations: 1.291 MB / 11.72 GB, free: 13.87 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006261/82.75, allocations: 0 / 11.72 GB, free: 13.87 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.001705/82.75, allocations: 0.539 MB / 11.72 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02498/82.78, allocations: 6.915 MB / 11.73 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03522/82.81, allocations: 9.322 MB / 11.74 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0324/82.85, allocations: 7.969 MB / 11.75 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002427/82.85, allocations: 13.75 kB / 11.75 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of matching and sorting (n=776) (initialization): time 0.1195/82.97, allocations: 23.4 MB / 11.77 GB, free: 14.27 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.923/84.89, allocations: 29.59 MB / 11.8 GB, free: 94.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005284/84.89, allocations: 45.47 kB / 11.8 GB, free: 94.93 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3/86.19, allocations: 167.2 MB / 11.96 GB, free: 94.27 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01575/86.21, allocations: 1.298 MB / 11.96 GB, free: 94.27 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09468/86.3, allocations: 25.49 MB / 11.99 GB, free: 90.25 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03444/86.34, allocations: 0.8131 MB / 11.99 GB, free: 90.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007919/86.34, allocations: 0.731 MB / 11.99 GB, free: 90.2 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.402e-05/86.34, allocations: 3.203 kB / 11.99 GB, free: 90.2 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07802/86.42, allocations: 20.88 MB / 12.01 GB, free: 89.88 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004137/86.42, allocations: 47.02 kB / 12.01 GB, free: 89.88 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.219/89.64, allocations: 167.2 MB / 12.17 GB, free: 123.4 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01219/89.65, allocations: 1.281 MB / 12.18 GB, free: 123.4 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1051/89.76, allocations: 28.33 MB / 12.2 GB, free: 120.8 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02595/89.78, allocations: 0.7833 MB / 12.2 GB, free: 120.8 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007066/89.79, allocations: 0.6962 MB / 12.21 GB, free: 120.8 MB / 1.026 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pmpNorth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pmpSouth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pumpHea.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pumpCoo.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (560): * Single equations (assignments): 548 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {40 56,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.009604/89.8, allocations: 276.8 kB / 12.21 GB, free: 120.7 MB / 1.026 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.06831/89.87, allocations: 19.21 MB / 12.22 GB, free: 120.5 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01063/89.88, allocations: 1.149 MB / 12.23 GB, free: 120.5 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08993/89.97, allocations: 17.31 MB / 12.24 GB, free: 120.1 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002857/89.97, allocations: 52.92 kB / 12.24 GB, free: 120.1 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.124e-05/89.97, allocations: 1.375 kB / 12.24 GB, free: 120.1 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05163/90.02, allocations: 12.49 MB / 12.25 GB, free: 119.6 MB / 1.026 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2596/90.28, allocations: 45.47 MB / 12.3 GB, free: 113.6 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001734/90.28, allocations: 1.531 kB / 12.3 GB, free: 113.6 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008292/90.29, allocations: 0.6888 MB / 12.3 GB, free: 113.6 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.352/90.64, allocations: 47.69 MB / 12.35 GB, free: 113.5 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002662/90.65, allocations: 74.61 kB / 12.35 GB, free: 113.5 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03998/90.69, allocations: 13.17 MB / 12.36 GB, free: 109.4 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.659e-05/90.69, allocations: 5.25 kB / 12.36 GB, free: 109.4 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.221/90.91, allocations: 41.07 MB / 12.4 GB, free: 107.7 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01759/90.92, allocations: 2.579 MB / 12.4 GB, free: 106.9 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00875/90.93, allocations: 4.109 kB / 12.4 GB, free: 106.9 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02404/90.96, allocations: 0.6209 MB / 12.4 GB, free: 106.9 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002951/90.96, allocations: 300.7 kB / 12.4 GB, free: 106.9 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002539/90.96, allocations: 208.8 kB / 12.4 GB, free: 106.9 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.03144/90.99, allocations: 8.457 MB / 12.41 GB, free: 106.5 MB / 1.026 GB Notification: Performance of sort global known variables: time 8.72e-07/90.99, allocations: 0 / 12.41 GB, free: 106.5 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.06856/91.06, allocations: 5.746 MB / 12.42 GB, free: 103.6 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (324): * Single equations (assignments): 304 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {38 56,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.2309/91.29, allocations: 45.67 MB / 12.46 GB, free: 77.19 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.07614/91.37, allocations: 28.68 MB / 12.49 GB, free: 60.58 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.541e-05/91.37, allocations: 0 / 12.49 GB, free: 60.58 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.02673/91.4, allocations: 7.212 MB / 12.5 GB, free: 53.94 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05115/91.45, allocations: 6.032 MB / 12.5 GB, free: 49.99 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.062/94.51, allocations: 21.39 MB / 12.52 GB, free: 116.1 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02319/94.53, allocations: 6.831 MB / 12.53 GB, free: 115.1 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.05666/94.59, allocations: 5.762 MB / 12.54 GB, free: 115 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02277/94.61, allocations: 5.491 MB / 12.54 GB, free: 115 MB / 1.026 GB Notification: Performance of SimCode: time 2.565e-06/94.61, allocations: 0.5 kB / 12.54 GB, free: 115 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.078/97.69, allocations: 474.3 MB / 13 GB, free: 123.8 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003761/97.69, allocations: 159 kB / 13 GB, free: 123.6 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 55.23/152.9, allocations: 0 / 13 GB, free: 123.6 MB / 1.042 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified5_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified5.fmu > IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)