Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Examples_FlowSystem_Simplified4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Simplified4,fileNamePrefix="IDEAS_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.001634/0.001635, allocations: 172.9 kB / 7.647 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 0.7694/0.7694, allocations: 133.5 MB / 141.6 MB, free: 2.867 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0008668/0.0008669, allocations: 107.7 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.054e-05/2.058e-05, allocations: 4 kB / 0.5535 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4806/0.4807, allocations: 82.3 MB / 0.6339 GB, free: 40.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8503/1.331, allocations: 424.1 MB / 1.048 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/1.331, allocations: 95.27 kB / 1.048 GB, free: 9.848 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 46.17/47.5, allocations: 10.48 GB / 11.53 GB, free: 48.61 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.093e-06/47.5, allocations: 3.344 kB / 11.53 GB, free: 48.61 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.004178/47.5, allocations: 392.3 kB / 11.53 GB, free: 48.51 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.05083/47.55, allocations: 12.17 MB / 11.54 GB, free: 37.25 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/47.55, allocations: 8.031 kB / 11.54 GB, free: 37.24 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01547/47.57, allocations: 2.204 MB / 11.55 GB, free: 35.02 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06519/47.63, allocations: 20.26 MB / 11.57 GB, free: 14.67 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005527/47.63, allocations: 232 kB / 11.57 GB, free: 14.44 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004689/47.64, allocations: 488 kB / 11.57 GB, free: 13.96 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 1.826/49.46, allocations: 18.34 MB / 11.59 GB, free: 51.57 MB / 0.9637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03241/49.5, allocations: 12.98 MB / 11.6 GB, free: 50.81 MB / 0.9637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003184/49.5, allocations: 15.47 kB / 11.6 GB, free: 50.81 MB / 0.9637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003318/49.5, allocations: 9.156 kB / 11.6 GB, free: 50.81 MB / 0.9637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002405/49.5, allocations: 184.8 kB / 11.6 GB, free: 50.81 MB / 0.9637 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.1248/49.62, allocations: 73.19 MB / 11.67 GB, free: 34.06 MB / 0.9793 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01377/49.64, allocations: 10.29 MB / 11.68 GB, free: 33.91 MB / 0.9793 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0112/49.65, allocations: 8.809 MB / 11.69 GB, free: 33.84 MB / 0.9793 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.0607/49.71, allocations: 30.17 MB / 11.72 GB, free: 25.15 MB / 0.9793 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01135/49.72, allocations: 7.974 MB / 11.73 GB, free: 25.04 MB / 0.9793 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04213/49.76, allocations: 14.85 MB / 11.74 GB, free: 24.93 MB / 0.9793 GB Notification: Performance of pre-optimization done (n=427): time 4.923e-05/49.76, allocations: 0 / 11.74 GB, free: 24.93 MB / 0.9793 GB Notification: Performance of matching and sorting (n=429): time 0.09026/49.85, allocations: 37.02 MB / 11.78 GB, free: 22.02 MB / 0.9793 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.574e-05/49.85, allocations: 103.6 kB / 11.78 GB, free: 21.95 MB / 0.9793 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02449/49.88, allocations: 12.01 MB / 11.79 GB, free: 21.28 MB / 0.9793 GB Notification: Performance of collectPreVariables (initialization): time 0.003275/49.88, allocations: 37.14 kB / 11.79 GB, free: 21.25 MB / 0.9793 GB Notification: Performance of collectInitialEqns (initialization): time 0.01086/49.89, allocations: 6.646 MB / 11.79 GB, free: 20.09 MB / 0.9793 GB Notification: Performance of collectInitialBindings (initialization): time 0.004389/49.9, allocations: 1.411 MB / 11.8 GB, free: 19.36 MB / 0.9793 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002796/49.9, allocations: 2.281 kB / 11.8 GB, free: 19.36 MB / 0.9793 GB Notification: Performance of setup shared object (initialization): time 0.0007803/49.9, allocations: 0.5601 MB / 11.8 GB, free: 19.04 MB / 0.9793 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0163/49.92, allocations: 6.941 MB / 11.8 GB, free: 19.02 MB / 0.9793 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01865/49.94, allocations: 9.548 MB / 11.81 GB, free: 15.94 MB / 0.9793 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02128/49.96, allocations: 8.063 MB / 11.82 GB, free: 15.82 MB / 0.9793 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001303/49.96, allocations: 15.72 kB / 11.82 GB, free: 15.82 MB / 0.9793 GB Notification: Performance of matching and sorting (n=851) (initialization): time 0.06737/50.03, allocations: 22.81 MB / 11.84 GB, free: 13.6 MB / 0.9793 GB Notification: Performance of prepare postOptimizeDAE: time 0.02036/50.05, allocations: 34.76 MB / 11.88 GB, free: 9.172 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003438/50.05, allocations: 51.78 kB / 11.88 GB, free: 9.172 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679/51.73, allocations: 148 MB / 12.02 GB, free: 95.52 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008775/51.73, allocations: 1.49 MB / 12.02 GB, free: 95.52 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03722/51.77, allocations: 23.29 MB / 12.05 GB, free: 91.56 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01909/51.79, allocations: 0.8851 MB / 12.05 GB, free: 91.56 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003816/51.79, allocations: 0.7449 MB / 12.05 GB, free: 91.56 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/51.79, allocations: 7.828 kB / 12.05 GB, free: 91.56 MB / 1.011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5507/52.35, allocations: 103 MB / 12.15 GB, free: 90.03 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002405/52.35, allocations: 54.06 kB / 12.15 GB, free: 90.03 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6141/52.96, allocations: 143.6 MB / 12.29 GB, free: 17.48 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007469/52.97, allocations: 1.475 MB / 12.29 GB, free: 16.12 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04635/53.01, allocations: 25.93 MB / 12.31 GB, free: 13.3 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02049/53.03, allocations: 0.8549 MB / 12.32 GB, free: 12.51 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004271/53.04, allocations: 0.7067 MB / 12.32 GB, free: 11.85 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.005918/53.04, allocations: 299.8 kB / 12.32 GB, free: 11.69 MB / 1.026 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04282/53.09, allocations: 18.84 MB / 12.33 GB, free: 68 kB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00581/53.09, allocations: 1.241 MB / 12.34 GB, free: 15.18 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.053/54.15, allocations: 17.05 MB / 12.35 GB, free: 123.2 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.231e-05/54.15, allocations: 57.59 kB / 12.35 GB, free: 123.2 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/54.15, allocations: 0 / 12.35 GB, free: 123.2 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02111/54.17, allocations: 12.2 MB / 12.36 GB, free: 122.8 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.08737/54.26, allocations: 33.57 MB / 12.4 GB, free: 117 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.354e-05/54.26, allocations: 1.203 kB / 12.4 GB, free: 117 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005061/54.26, allocations: 0.8094 MB / 12.4 GB, free: 117 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1879/54.45, allocations: 40.71 MB / 12.44 GB, free: 116.9 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001997/54.45, allocations: 75.88 kB / 12.44 GB, free: 116.9 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02149/54.47, allocations: 11.92 MB / 12.45 GB, free: 112.9 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.036e-05/54.47, allocations: 0 / 12.45 GB, free: 112.9 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08381/54.56, allocations: 28.55 MB / 12.48 GB, free: 111.9 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01195/54.57, allocations: 2.743 MB / 12.48 GB, free: 111.5 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007459/54.58, allocations: 6.875 kB / 12.48 GB, free: 111.5 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01561/54.59, allocations: 0.6729 MB / 12.48 GB, free: 111.5 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001942/54.59, allocations: 311.8 kB / 12.48 GB, free: 111.5 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009053/54.59, allocations: 220.8 kB / 12.48 GB, free: 111.5 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.02184/54.62, allocations: 8.999 MB / 12.49 GB, free: 111.1 MB / 1.042 GB Notification: Performance of sort global known variables: time 4.91e-07/54.62, allocations: 2.438 kB / 12.49 GB, free: 111.1 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.05432/54.67, allocations: 6.321 MB / 12.5 GB, free: 111.1 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.09049/54.76, allocations: 33.62 MB / 12.53 GB, free: 107.1 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.06065/54.82, allocations: 28.12 MB / 12.56 GB, free: 106.4 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.614e-05/54.82, allocations: 7.781 kB / 12.56 GB, free: 106.4 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.01476/54.84, allocations: 6.97 MB / 12.56 GB, free: 106.3 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04065/54.88, allocations: 6.558 MB / 12.57 GB, free: 106.3 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07471/54.95, allocations: 23.25 MB / 12.59 GB, free: 101.8 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01318/54.96, allocations: 7.338 MB / 12.6 GB, free: 100.2 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.03437/55, allocations: 6.161 MB / 12.61 GB, free: 96.77 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01202/55.01, allocations: 6.107 MB / 12.61 GB, free: 96.21 MB / 1.042 GB Notification: Performance of SimCode: time 2.254e-06/55.01, allocations: 4 kB / 12.61 GB, free: 96.2 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.002/58.01, allocations: 495.1 MB / 13.1 GB, free: 114.7 MB / 1.089 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002339/58.01, allocations: 154 kB / 13.1 GB, free: 114.5 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.17/89.19, allocations: 1.969 kB / 13.1 GB, free: 114.5 MB / 1.089 GB (rm -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified4_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified4.fmu > IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)