Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4.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.Simplified4,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Simplified4,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified4",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.00178/0.00178, allocations: 180.7 kB / 7.649 MB, free: 1.395 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.207/1.207, allocations: 133.6 MB / 141.6 MB, free: 2.891 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.148/2.148, allocations: 221.5 MB / 395.4 MB, free: 10.77 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.0014/0.0014, allocations: 106.4 kB / 478.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.472e-05/4.463e-05, allocations: 4 kB / 0.5535 GB, free: 8.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7148/0.7149, allocations: 82.3 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.195/1.91, allocations: 424.1 MB / 1.048 GB, free: 9.805 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003796/1.91, allocations: 91.39 kB / 1.048 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 77.66/79.57, allocations: 10.48 GB / 11.53 GB, free: 48.11 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.565e-06/79.57, allocations: 0 / 11.53 GB, free: 48.11 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.005178/79.58, allocations: 391.7 kB / 11.53 GB, free: 48 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.07943/79.66, allocations: 12.17 MB / 11.54 GB, free: 37.04 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 7.721e-05/79.66, allocations: 12.03 kB / 11.54 GB, free: 37.02 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02366/79.68, allocations: 2.201 MB / 11.55 GB, free: 34.8 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1011/79.78, allocations: 20.27 MB / 11.57 GB, free: 14.45 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001182/79.78, allocations: 224 kB / 11.57 GB, free: 14.23 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006692/79.79, allocations: 492 kB / 11.57 GB, free: 13.75 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 1.989/81.78, allocations: 18.34 MB / 11.59 GB, free: 52.86 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07763/81.86, allocations: 12.98 MB / 11.6 GB, free: 52.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001029/81.86, allocations: 12.25 kB / 11.6 GB, free: 52.1 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007405/81.87, allocations: 9.844 kB / 11.6 GB, free: 52.1 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009199/81.87, allocations: 184.5 kB / 11.6 GB, free: 52.1 MB / 0.9636 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.2574/82.13, allocations: 73.19 MB / 11.67 GB, free: 35.36 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03103/82.16, allocations: 10.29 MB / 11.68 GB, free: 35.2 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02724/82.18, allocations: 8.807 MB / 11.69 GB, free: 35.14 MB / 0.9792 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.1363/82.32, allocations: 30.18 MB / 11.72 GB, free: 26.44 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03167/82.35, allocations: 7.973 MB / 11.73 GB, free: 26.33 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0868/82.44, allocations: 14.85 MB / 11.74 GB, free: 26.22 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=427): time 0.000154/82.44, allocations: 0.5469 kB / 11.74 GB, free: 26.22 MB / 0.9792 GB Notification: Performance of matching and sorting (n=429): time 0.1936/82.63, allocations: 37.03 MB / 11.78 GB, free: 23.31 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002597/82.63, allocations: 102.1 kB / 11.78 GB, free: 23.24 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05665/82.69, allocations: 12.02 MB / 11.79 GB, free: 22.57 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.00659/82.7, allocations: 37.59 kB / 11.79 GB, free: 22.54 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.02113/82.72, allocations: 6.645 MB / 11.79 GB, free: 21.39 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.007989/82.73, allocations: 1.413 MB / 11.8 GB, free: 20.65 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005456/82.73, allocations: 0 / 11.8 GB, free: 20.65 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.001356/82.73, allocations: 0.5594 MB / 11.8 GB, free: 20.33 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02005/82.75, allocations: 6.938 MB / 11.8 GB, free: 20.31 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02571/82.78, allocations: 9.554 MB / 11.81 GB, free: 17.23 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02781/82.81, allocations: 8.057 MB / 11.82 GB, free: 17.11 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002481/82.81, allocations: 13.91 kB / 11.82 GB, free: 17.11 MB / 0.9792 GB Notification: Performance of matching and sorting (n=851) (initialization): time 0.1041/82.91, allocations: 22.81 MB / 11.84 GB, free: 14.83 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.02849/82.94, allocations: 34.76 MB / 11.88 GB, free: 10.41 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005044/82.94, allocations: 49.75 kB / 11.88 GB, free: 10.41 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.974/85.91, allocations: 147.8 MB / 12.02 GB, free: 96.85 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01563/85.93, allocations: 1.489 MB / 12.02 GB, free: 96.85 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07774/86.01, allocations: 23.29 MB / 12.05 GB, free: 92.89 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03549/86.04, allocations: 0.8845 MB / 12.05 GB, free: 92.89 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007515/86.05, allocations: 0.7483 MB / 12.05 GB, free: 92.89 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/86.05, allocations: 5.688 kB / 12.05 GB, free: 92.89 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.934/86.98, allocations: 103 MB / 12.15 GB, free: 91.38 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005646/86.99, allocations: 53.77 kB / 12.15 GB, free: 91.38 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092/88.08, allocations: 143.6 MB / 12.29 GB, free: 21.32 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01224/88.09, allocations: 1.474 MB / 12.29 GB, free: 19.96 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08158/88.17, allocations: 25.92 MB / 12.31 GB, free: 1.137 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03199/88.2, allocations: 0.8544 MB / 12.32 GB, free: 356 kB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006871/88.21, allocations: 0.7109 MB / 12.32 GB, free: 15.69 MB / 1.026 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pmpSouth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pmpNorth.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: 237 * 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 (661): * Single equations (assignments): 649 * 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 {32 38,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.01109/88.22, allocations: 296.4 kB / 12.32 GB, free: 15.53 MB / 1.026 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.07991/88.3, allocations: 18.84 MB / 12.33 GB, free: 3.906 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01209/88.31, allocations: 1.238 MB / 12.34 GB, free: 3.031 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.01/90.32, allocations: 17.06 MB / 12.35 GB, free: 124.9 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002135/90.32, allocations: 50.31 kB / 12.35 GB, free: 124.9 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.559e-05/90.32, allocations: 1.734 kB / 12.35 GB, free: 124.9 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04014/90.36, allocations: 12.2 MB / 12.36 GB, free: 124.5 MB / 1.042 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.1255/90.49, allocations: 33.56 MB / 12.4 GB, free: 118.6 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001071/90.49, allocations: 4.094 kB / 12.4 GB, free: 118.6 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007978/90.5, allocations: 0.8044 MB / 12.4 GB, free: 118.6 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3124/90.81, allocations: 40.72 MB / 12.44 GB, free: 118.5 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002569/90.81, allocations: 82.22 kB / 12.44 GB, free: 118.5 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03371/90.85, allocations: 11.92 MB / 12.45 GB, free: 114.5 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-05/90.85, allocations: 0.6562 kB / 12.45 GB, free: 114.5 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1321/90.98, allocations: 28.55 MB / 12.48 GB, free: 113.5 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01677/91, allocations: 2.743 MB / 12.48 GB, free: 113.2 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008818/91, allocations: 6.688 kB / 12.48 GB, free: 113.2 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02165/91.03, allocations: 0.6734 MB / 12.48 GB, free: 113.2 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002661/91.03, allocations: 311.5 kB / 12.48 GB, free: 113.2 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001945/91.03, allocations: 228.5 kB / 12.48 GB, free: 113.2 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.03298/91.06, allocations: 8.993 MB / 12.49 GB, free: 112.8 MB / 1.042 GB Notification: Performance of sort global known variables: time 4.298e-06/91.06, allocations: 3.875 kB / 12.49 GB, free: 112.8 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.08138/91.15, allocations: 6.326 MB / 12.5 GB, free: 112.8 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * 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 (373): * Single equations (assignments): 353 * 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 {30 38,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.1389/91.28, allocations: 33.62 MB / 12.53 GB, free: 108.8 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.09289/91.38, allocations: 28.12 MB / 12.56 GB, free: 108.1 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.2e-05/91.38, allocations: 1.844 kB / 12.56 GB, free: 108.1 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.02424/91.4, allocations: 6.962 MB / 12.56 GB, free: 108 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06342/91.47, allocations: 6.577 MB / 12.57 GB, free: 108 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1193/91.58, allocations: 23.24 MB / 12.59 GB, free: 103.5 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02302/91.61, allocations: 7.336 MB / 12.6 GB, free: 102.5 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.06166/91.67, allocations: 6.163 MB / 12.61 GB, free: 99.12 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02254/91.69, allocations: 6.111 MB / 12.61 GB, free: 98.56 MB / 1.042 GB Notification: Performance of SimCode: time 2.224e-06/91.69, allocations: 0 / 12.61 GB, free: 98.56 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.183/97.88, allocations: 495.1 MB / 13.09 GB, free: 102.6 MB / 1.073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002426/97.88, allocations: 158 kB / 13.1 GB, free: 102.4 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 54.36/152.2, allocations: 3.906 kB / 13.1 GB, free: 102.4 MB / 1.073 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified4_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified4.fmu > IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)