Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Examples_FlowSystem_Simplified5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Simplified5,fileNamePrefix="IDEAS_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.001051/0.001051, allocations: 173.7 kB / 7.646 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.7364/0.7364, allocations: 133.5 MB / 141.6 MB, free: 2.879 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.536/1.536, 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.0008643/0.0008643, allocations: 108.9 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.878e-05/1.881e-05, allocations: 4 kB / 0.5535 GB, free: 8.977 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.446/0.446, allocations: 82.31 MB / 0.6339 GB, free: 40.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8425/1.289, allocations: 424.8 MB / 1.049 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/1.289, allocations: 91.33 kB / 1.049 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 46.28/47.57, allocations: 10.42 GB / 11.47 GB, free: 51.84 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.315e-06/47.57, allocations: 0 / 11.47 GB, free: 51.84 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.002936/47.57, allocations: 357.5 kB / 11.47 GB, free: 51.78 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.05082/47.63, allocations: 11.19 MB / 11.48 GB, free: 47.07 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/47.63, allocations: 10.47 kB / 11.48 GB, free: 47.07 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0181/47.64, allocations: 2.233 MB / 11.48 GB, free: 46.28 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0714/47.71, allocations: 18.74 MB / 11.5 GB, free: 44.16 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006488/47.72, allocations: 196.9 kB / 11.5 GB, free: 44.16 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004363/47.72, allocations: 440.2 kB / 11.5 GB, free: 44.16 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03431/47.75, allocations: 17.89 MB / 11.52 GB, free: 44.13 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03875/47.79, allocations: 12.22 MB / 11.53 GB, free: 43.55 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003661/47.79, allocations: 8.281 kB / 11.53 GB, free: 43.55 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004558/47.8, allocations: 8.797 kB / 11.53 GB, free: 43.55 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000277/47.8, allocations: 150.2 kB / 11.53 GB, free: 43.55 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.1368/47.94, allocations: 69.19 MB / 11.6 GB, free: 11.73 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01592/47.95, allocations: 10.23 MB / 11.61 GB, free: 11.57 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01355/47.96, allocations: 8.783 MB / 11.62 GB, free: 11.5 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.06947/48.03, allocations: 29.4 MB / 11.65 GB, free: 3.223 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01286/48.05, allocations: 7.994 MB / 11.65 GB, free: 19.12 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04579/48.09, allocations: 15.1 MB / 11.67 GB, free: 18.83 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=393): time 5.612e-05/48.09, allocations: 0.9375 kB / 11.67 GB, free: 18.83 MB / 0.9636 GB Notification: Performance of matching and sorting (n=395): time 0.08495/48.18, allocations: 37.21 MB / 11.71 GB, free: 15.96 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.879e-05/48.18, allocations: 95.53 kB / 11.71 GB, free: 15.9 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02688/48.21, allocations: 11.29 MB / 11.72 GB, free: 15.19 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.003689/48.21, allocations: 38.89 kB / 11.72 GB, free: 15.16 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.009754/48.22, allocations: 6.026 MB / 11.72 GB, free: 13.81 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.004511/48.22, allocations: 1.29 MB / 11.72 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002288/48.23, allocations: 3 kB / 11.72 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0005518/48.23, allocations: 0.5409 MB / 11.72 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01044/48.24, allocations: 6.911 MB / 11.73 GB, free: 12.6 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01475/48.25, allocations: 9.323 MB / 11.74 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01552/48.27, allocations: 7.961 MB / 11.75 GB, free: 3.926 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.122e-05/48.27, allocations: 14.31 kB / 11.75 GB, free: 3.926 MB / 0.9636 GB Notification: Performance of matching and sorting (n=776) (initialization): time 0.06378/48.33, allocations: 23.48 MB / 11.77 GB, free: 13.65 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.02/49.35, allocations: 29.59 MB / 11.8 GB, free: 94.53 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000271/49.35, allocations: 47.25 kB / 11.8 GB, free: 94.53 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7596/50.11, allocations: 167.2 MB / 11.96 GB, free: 93.84 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00833/50.12, allocations: 1.287 MB / 11.96 GB, free: 93.83 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04704/50.17, allocations: 25.49 MB / 11.99 GB, free: 89.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02147/50.19, allocations: 0.812 MB / 11.99 GB, free: 89.77 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004697/50.19, allocations: 0.7327 MB / 11.99 GB, free: 89.77 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/50.19, allocations: 6.328 kB / 11.99 GB, free: 89.77 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05416/50.25, allocations: 20.88 MB / 12.01 GB, free: 89.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003337/50.25, allocations: 45.47 kB / 12.01 GB, free: 89.45 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584/51.83, allocations: 167.2 MB / 12.17 GB, free: 123.5 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006452/51.84, allocations: 1.274 MB / 12.18 GB, free: 123.5 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05157/51.89, allocations: 28.32 MB / 12.2 GB, free: 120.9 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01821/51.91, allocations: 0.7938 MB / 12.2 GB, free: 120.9 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004737/51.91, allocations: 0.6875 MB / 12.21 GB, free: 120.9 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.00594/51.92, allocations: 277.4 kB / 12.21 GB, free: 120.8 MB / 1.026 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03768/51.96, allocations: 19.21 MB / 12.22 GB, free: 120.6 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004425/51.96, allocations: 1.148 MB / 12.23 GB, free: 120.6 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04055/52, allocations: 17.32 MB / 12.24 GB, free: 120.2 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000161/52, allocations: 55.14 kB / 12.24 GB, free: 120.2 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.63e-05/52, allocations: 0 / 12.24 GB, free: 120.2 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02296/52.02, allocations: 12.5 MB / 12.25 GB, free: 119.7 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.129/52.15, allocations: 45.47 MB / 12.3 GB, free: 113.7 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.231e-05/52.15, allocations: 4.656 kB / 12.3 GB, free: 113.7 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004032/52.16, allocations: 0.6924 MB / 12.3 GB, free: 113.7 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2131/52.37, allocations: 47.69 MB / 12.35 GB, free: 113.6 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001638/52.37, allocations: 72.17 kB / 12.35 GB, free: 113.6 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02074/52.39, allocations: 13.17 MB / 12.36 GB, free: 109.5 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.188e-05/52.39, allocations: 4.734 kB / 12.36 GB, free: 109.5 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1497/52.54, allocations: 41.08 MB / 12.4 GB, free: 107.8 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01039/52.55, allocations: 2.582 MB / 12.4 GB, free: 107.1 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005265/52.56, allocations: 0 / 12.4 GB, free: 107.1 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01285/52.57, allocations: 0.6227 MB / 12.4 GB, free: 107 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001403/52.57, allocations: 303.2 kB / 12.4 GB, free: 107 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000669/52.57, allocations: 200 kB / 12.4 GB, free: 107 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.01552/52.59, allocations: 8.457 MB / 12.41 GB, free: 106.7 MB / 1.026 GB Notification: Performance of sort global known variables: time 5.51e-07/52.59, allocations: 5.094 kB / 12.41 GB, free: 106.7 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.04205/52.63, allocations: 5.748 MB / 12.42 GB, free: 103.5 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.1529/52.78, allocations: 45.66 MB / 12.46 GB, free: 77.12 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.05731/52.84, allocations: 28.68 MB / 12.49 GB, free: 60.43 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/52.84, allocations: 4 kB / 12.49 GB, free: 60.43 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.01417/52.86, allocations: 7.205 MB / 12.5 GB, free: 53.79 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0315/52.89, allocations: 6.036 MB / 12.5 GB, free: 49.84 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.799/54.69, allocations: 21.38 MB / 12.52 GB, free: 116.3 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01197/54.7, allocations: 6.836 MB / 12.53 GB, free: 115.4 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.03107/54.73, allocations: 5.756 MB / 12.54 GB, free: 115.3 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01072/54.74, allocations: 5.49 MB / 12.54 GB, free: 115.3 MB / 1.026 GB Notification: Performance of SimCode: time 1.222e-06/54.74, allocations: 0.875 kB / 12.54 GB, free: 115.3 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.715/56.46, allocations: 474.3 MB / 13 GB, free: 124.3 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002328/56.46, allocations: 158.7 kB / 13 GB, free: 124.1 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.7/86.15, allocations: 0 / 13 GB, free: 124.1 MB / 1.042 GB (rm -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified5_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified5.fmu > IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)