Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Examples_FlowSystem_Simplified6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Simplified6,fileNamePrefix="IDEAS_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.001518/0.001518, allocations: 180.9 kB / 7.65 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.789/0.789, 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 1.474/1.474, allocations: 221.5 MB / 395.5 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.000907/0.0009069, allocations: 90.11 kB / 478.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.144e-05/2.154e-05, allocations: 0 / 0.5535 GB, free: 8.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4507/0.4507, allocations: 82.3 MB / 0.6339 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8257/1.276, allocations: 425.4 MB / 1.049 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/1.277, allocations: 94.52 kB / 1.049 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 44.53/45.81, allocations: 10.66 GB / 11.71 GB, free: 71.16 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.773e-06/45.81, allocations: 3.828 kB / 11.71 GB, free: 71.16 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.002611/45.81, allocations: 351.3 kB / 11.71 GB, free: 71.09 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.04595/45.86, allocations: 11.09 MB / 11.72 GB, free: 65.47 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/45.86, allocations: 11.31 kB / 11.72 GB, free: 65.47 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01355/45.87, allocations: 2.098 MB / 11.72 GB, free: 64.63 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05363/45.93, allocations: 18.4 MB / 11.74 GB, free: 53.05 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004507/45.93, allocations: 196 kB / 11.74 GB, free: 52.86 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002845/45.93, allocations: 435.9 kB / 11.74 GB, free: 52.43 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01313/45.94, allocations: 6.894 MB / 11.75 GB, free: 46.26 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01346/45.96, allocations: 7.45 MB / 11.75 GB, free: 39.25 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001256/45.96, allocations: 19.81 kB / 11.75 GB, free: 39.23 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006733/45.96, allocations: 12 kB / 11.75 GB, free: 39.21 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-05/45.96, allocations: 148 kB / 11.76 GB, free: 39.07 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.9413/46.9, allocations: 48.8 MB / 11.8 GB, free: 68.45 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008536/46.91, allocations: 5.436 MB / 11.81 GB, free: 68.38 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00593/46.91, allocations: 3.966 MB / 11.81 GB, free: 68.34 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.03721/46.95, allocations: 13.49 MB / 11.83 GB, free: 65.51 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004672/46.95, allocations: 3.15 MB / 11.83 GB, free: 65.41 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01224/46.97, allocations: 2.283 MB / 11.83 GB, free: 65.41 MB / 0.948 GB Notification: Performance of pre-optimization done (n=326): time 2.56e-05/46.97, allocations: 0 / 11.83 GB, free: 65.41 MB / 0.948 GB Notification: Performance of matching and sorting (n=328): time 0.04956/47.02, allocations: 15.74 MB / 11.85 GB, free: 63.32 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/47.02, allocations: 87.61 kB / 11.85 GB, free: 63.26 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02563/47.04, allocations: 11.48 MB / 11.86 GB, free: 62.59 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001987/47.04, allocations: 38.95 kB / 11.86 GB, free: 62.56 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.008392/47.05, allocations: 6.234 MB / 11.86 GB, free: 61.45 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002064/47.05, allocations: 1.08 MB / 11.86 GB, free: 60.89 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006034/47.05, allocations: 2.438 kB / 11.86 GB, free: 60.89 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003855/47.06, allocations: 0.5341 MB / 11.86 GB, free: 60.57 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004008/47.06, allocations: 3.038 MB / 11.87 GB, free: 60.55 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005659/47.06, allocations: 5.776 MB / 11.87 GB, free: 57.23 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008249/47.07, allocations: 3.983 MB / 11.88 GB, free: 57.15 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001081/47.07, allocations: 17.2 kB / 11.88 GB, free: 57.15 MB / 0.948 GB Notification: Performance of matching and sorting (n=771) (initialization): time 0.02486/47.1, allocations: 10.76 MB / 11.89 GB, free: 56.31 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.01024/47.11, allocations: 38.43 MB / 11.93 GB, free: 32.49 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002723/47.11, allocations: 60.06 kB / 11.93 GB, free: 32.49 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00333/47.11, allocations: 1.349 MB / 11.93 GB, free: 32.44 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008411/47.12, allocations: 1.389 MB / 11.93 GB, free: 32.44 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01052/47.13, allocations: 9.72 MB / 11.94 GB, free: 42.84 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01329/47.14, allocations: 0.7383 MB / 11.94 GB, free: 42.81 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001847/47.15, allocations: 413.9 kB / 11.94 GB, free: 42.81 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/47.15, allocations: 7.469 kB / 11.94 GB, free: 42.81 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01866/47.16, allocations: 8.517 MB / 11.95 GB, free: 42.63 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002552/47.17, allocations: 64.84 kB / 11.95 GB, free: 42.63 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004371/47.17, allocations: 1.472 MB / 11.95 GB, free: 42.58 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007463/47.18, allocations: 1.379 MB / 11.95 GB, free: 42.58 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01869/47.2, allocations: 12.54 MB / 11.96 GB, free: 38.15 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01297/47.21, allocations: 0.7153 MB / 11.96 GB, free: 38.12 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002045/47.21, allocations: 380.9 kB / 11.96 GB, free: 38.12 MB / 0.9792 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.002135/47.21, allocations: 306.6 kB / 11.96 GB, free: 38.01 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01419/47.23, allocations: 6.617 MB / 11.97 GB, free: 37.15 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003975/47.23, allocations: 1.146 MB / 11.97 GB, free: 36.52 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01581/47.25, allocations: 7.649 MB / 11.98 GB, free: 36.12 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.972e-05/47.25, allocations: 38.94 kB / 11.98 GB, free: 36.12 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/47.25, allocations: 2.875 kB / 11.98 GB, free: 36.12 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0092/47.26, allocations: 5.75 MB / 11.98 GB, free: 35.68 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 postOpt removeSimpleEquations (simulation): time 0.03695/47.29, allocations: 16.25 MB / 12 GB, free: 34.27 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.417e-05/47.29, allocations: 2.719 kB / 12 GB, free: 34.27 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003398/47.3, allocations: 0.5944 MB / 12 GB, free: 34.27 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002464/47.3, allocations: 1.13 MB / 12 GB, free: 34.21 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003193/47.3, allocations: 58.98 kB / 12 GB, free: 34.21 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007468/47.31, allocations: 8.106 MB / 12.01 GB, free: 28.62 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.088e-05/47.31, allocations: 4.375 kB / 12.01 GB, free: 28.62 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01786/47.32, allocations: 10.51 MB / 12.02 GB, free: 27.14 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008891/47.33, allocations: 2.183 MB / 12.02 GB, free: 26.39 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004459/47.34, allocations: 4.078 kB / 12.02 GB, free: 26.39 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01085/47.35, allocations: 0.6208 MB / 12.02 GB, free: 26.38 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007679/47.35, allocations: 226.9 kB / 12.02 GB, free: 26.37 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000693/47.35, allocations: 169.2 kB / 12.02 GB, free: 26.37 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.01998/47.37, allocations: 8.57 MB / 12.03 GB, free: 26.02 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.014e-06/47.37, allocations: 0 / 12.03 GB, free: 26.02 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.04218/47.41, allocations: 5.201 MB / 12.04 GB, free: 26.02 MB / 0.9792 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.02626/47.44, allocations: 15.09 MB / 12.05 GB, free: 22.4 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.02198/47.46, allocations: 11.94 MB / 12.06 GB, free: 21.9 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/47.46, allocations: 2.344 kB / 12.06 GB, free: 21.9 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.004518/47.47, allocations: 2.671 MB / 12.07 GB, free: 21.87 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03188/47.5, allocations: 5.748 MB / 12.07 GB, free: 21.75 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05452/47.55, allocations: 19.47 MB / 12.09 GB, free: 17.61 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00992/47.56, allocations: 6.744 MB / 12.1 GB, free: 16.52 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0285/47.59, allocations: 5.885 MB / 12.1 GB, free: 13.49 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009244/47.6, allocations: 5.385 MB / 12.11 GB, free: 12.62 MB / 0.9792 GB Notification: Performance of SimCode: time 1.372e-06/47.6, allocations: 5.531 kB / 12.11 GB, free: 12.61 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.19/49.79, allocations: 339 MB / 12.44 GB, free: 39.21 MB / 0.9949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001509/49.79, allocations: 161.9 kB / 12.44 GB, free: 39.01 MB / 0.9949 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.09/72.88, allocations: 0 / 12.44 GB, free: 39.01 MB / 0.9949 GB (rm -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified6_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified6.fmu > IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)