Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.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.Simplified6,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Simplified6,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified6",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.002139/0.002139, allocations: 176.6 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 1.179/1.179, allocations: 133.6 MB / 141.6 MB, free: 2.859 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.451/2.451, allocations: 221.5 MB / 395.4 MB, free: 10.75 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.001348/0.001348, allocations: 104.2 kB / 478.2 MB, free: 1.285 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 5.356e-05/5.374e-05, allocations: 4 kB / 0.5535 GB, free: 8.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8214/0.8215, allocations: 82.3 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.492/2.313, allocations: 425.4 MB / 1.049 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004177/2.314, allocations: 101.9 kB / 1.049 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 80.27/82.58, allocations: 10.66 GB / 11.71 GB, free: 47.37 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.086e-06/82.58, allocations: 0 / 11.71 GB, free: 47.37 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.005385/82.59, allocations: 359.6 kB / 11.71 GB, free: 47.02 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.05559/82.64, allocations: 11.09 MB / 11.72 GB, free: 35.82 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.515e-05/82.64, allocations: 8.031 kB / 11.72 GB, free: 35.82 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01807/82.66, allocations: 2.097 MB / 11.72 GB, free: 33.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08447/82.74, allocations: 18.39 MB / 11.74 GB, free: 15.25 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00104/82.75, allocations: 200 kB / 11.74 GB, free: 15.05 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005419/82.75, allocations: 435.9 kB / 11.74 GB, free: 14.63 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02501/82.78, allocations: 6.896 MB / 11.75 GB, free: 7.73 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.51/84.29, allocations: 7.438 MB / 11.75 GB, free: 63.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007287/84.29, allocations: 15.84 kB / 11.75 GB, free: 63.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003717/84.29, allocations: 12.62 kB / 11.75 GB, free: 63.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004191/84.29, allocations: 153.1 kB / 11.76 GB, free: 63.3 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.1553/84.45, allocations: 48.81 MB / 11.8 GB, free: 37.74 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01853/84.46, allocations: 5.437 MB / 11.81 GB, free: 37.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0139/84.48, allocations: 3.974 MB / 11.81 GB, free: 37.54 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.0765/84.56, allocations: 13.49 MB / 11.83 GB, free: 34.53 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01279/84.57, allocations: 3.153 MB / 11.83 GB, free: 34.43 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02992/84.6, allocations: 2.277 MB / 11.83 GB, free: 34.32 MB / 0.948 GB Notification: Performance of pre-optimization done (n=326): time 0.0001066/84.6, allocations: 0 / 11.83 GB, free: 34.32 MB / 0.948 GB Notification: Performance of matching and sorting (n=328): time 0.1034/84.7, allocations: 15.75 MB / 11.85 GB, free: 31.58 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002049/84.7, allocations: 90.39 kB / 11.85 GB, free: 31.52 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06622/84.77, allocations: 11.48 MB / 11.86 GB, free: 30.85 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.002994/84.77, allocations: 41.61 kB / 11.86 GB, free: 30.82 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01692/84.79, allocations: 6.216 MB / 11.86 GB, free: 29.71 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004587/84.79, allocations: 1.086 MB / 11.86 GB, free: 29.15 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002148/84.8, allocations: 0 / 11.86 GB, free: 29.15 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.001127/84.8, allocations: 0.5393 MB / 11.86 GB, free: 28.84 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01216/84.81, allocations: 3.031 MB / 11.87 GB, free: 28.82 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01505/84.82, allocations: 5.778 MB / 11.87 GB, free: 25.49 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01454/84.84, allocations: 3.98 MB / 11.88 GB, free: 25.41 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002079/84.84, allocations: 23.22 kB / 11.88 GB, free: 25.41 MB / 0.948 GB Notification: Performance of matching and sorting (n=771) (initialization): time 0.04681/84.89, allocations: 10.76 MB / 11.89 GB, free: 24.57 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0404/84.93, allocations: 38.43 MB / 11.93 GB, free: 32.74 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005502/84.93, allocations: 63.25 kB / 11.93 GB, free: 32.74 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004615/84.93, allocations: 1.351 MB / 11.93 GB, free: 32.69 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01093/84.94, allocations: 1.391 MB / 11.93 GB, free: 32.69 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01981/84.96, allocations: 9.708 MB / 11.94 GB, free: 27.11 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02864/84.99, allocations: 0.743 MB / 11.94 GB, free: 27.07 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005197/85, allocations: 416.3 kB / 11.94 GB, free: 27.07 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 5.458e-05/85, allocations: 8.328 kB / 11.94 GB, free: 27.07 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0512/85.05, allocations: 8.528 MB / 11.95 GB, free: 26.88 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000884/85.05, allocations: 57.09 kB / 11.95 GB, free: 26.88 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008804/85.06, allocations: 1.465 MB / 11.95 GB, free: 26.83 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01281/85.07, allocations: 1.386 MB / 11.95 GB, free: 26.83 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03835/85.11, allocations: 12.54 MB / 11.96 GB, free: 22.41 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02186/85.13, allocations: 0.715 MB / 11.96 GB, free: 22.38 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003748/85.13, allocations: 375.5 kB / 11.96 GB, free: 22.38 MB / 0.9948 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 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumpHea.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 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: 269 * 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 (640): * Single equations (assignments): 625 * 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: 5 * 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: 5 {1 4,1 2,1 2,1 2,4 81} Notification: Performance of prepare postOptimizeDAE: time 0.006727/85.14, allocations: 310.4 kB / 11.96 GB, free: 22.27 MB / 0.9948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03055/85.17, allocations: 6.624 MB / 11.97 GB, free: 21.41 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007732/85.18, allocations: 1.144 MB / 11.97 GB, free: 20.77 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03017/85.21, allocations: 7.643 MB / 11.98 GB, free: 20.38 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.59e-05/85.21, allocations: 36.27 kB / 11.98 GB, free: 20.38 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.981e-05/85.21, allocations: 3.562 kB / 11.98 GB, free: 20.38 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01858/85.23, allocations: 5.756 MB / 11.98 GB, free: 19.93 MB / 0.9948 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.07811/85.31, allocations: 16.24 MB / 12 GB, free: 18.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.854e-05/85.31, allocations: 0 / 12 GB, free: 18.52 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00466/85.31, allocations: 0.6073 MB / 12 GB, free: 18.52 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003842/85.32, allocations: 1.128 MB / 12 GB, free: 18.46 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001357/85.32, allocations: 59.72 kB / 12 GB, free: 18.46 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01067/85.33, allocations: 8.102 MB / 12.01 GB, free: 28.88 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-05/85.33, allocations: 0 / 12.01 GB, free: 28.88 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0308/85.36, allocations: 10.51 MB / 12.02 GB, free: 27.41 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01333/85.37, allocations: 2.19 MB / 12.02 GB, free: 26.67 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008535/85.38, allocations: 3.125 kB / 12.02 GB, free: 26.67 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01654/85.4, allocations: 0.6302 MB / 12.02 GB, free: 26.65 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001817/85.4, allocations: 223.9 kB / 12.02 GB, free: 26.65 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001484/85.4, allocations: 168 kB / 12.02 GB, free: 26.65 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.03053/85.43, allocations: 8.57 MB / 12.03 GB, free: 26.29 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.164e-06/85.43, allocations: 0 / 12.03 GB, free: 26.29 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.05378/85.49, allocations: 5.199 MB / 12.04 GB, free: 26.29 MB / 1.01 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 (274): * Single equations (assignments): 251 * 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: 5 * 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: 5 {1 2,1 4,1 2,1 2,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.05848/85.54, allocations: 15.08 MB / 12.05 GB, free: 22.69 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.03608/85.58, allocations: 11.95 MB / 12.06 GB, free: 22.18 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.578e-05/85.58, allocations: 7.047 kB / 12.06 GB, free: 22.18 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.007093/85.59, allocations: 2.667 MB / 12.07 GB, free: 22.15 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05834/85.65, allocations: 5.754 MB / 12.07 GB, free: 22.02 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1043/85.75, allocations: 19.47 MB / 12.09 GB, free: 17.84 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02121/85.77, allocations: 6.748 MB / 12.1 GB, free: 16.74 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.05573/85.83, allocations: 5.886 MB / 12.1 GB, free: 14.22 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0183/85.85, allocations: 5.385 MB / 12.11 GB, free: 11.18 MB / 1.01 GB Notification: Performance of SimCode: time 1.483e-06/85.85, allocations: 0 / 12.11 GB, free: 11.18 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.368/90.21, allocations: 339.4 MB / 12.44 GB, free: 22.1 MB / 1.011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002331/90.21, allocations: 163 kB / 12.44 GB, free: 21.91 MB / 1.011 GB Notification: Performance of buildModelFMU: Generate platform static: time 45.99/136.2, allocations: 3.297 kB / 12.44 GB, free: 21.91 MB / 1.011 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified6_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified6.fmu > IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)