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.001482/0.001482, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7164/0.7164, allocations: 133.4 MB / 146.7 MB, free: 10.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 221.3 MB / 400.4 MB, free: 5.777 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009904/0.0009907, allocations: 102.5 kB / 483.3 MB, free: 5.812 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.14e-05/6.176e-05, allocations: 3.562 kB / 0.5601 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1588, allocations: 82.31 MB / 0.6405 GB, free: 7.707 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.326/1.485, allocations: 425.4 MB / 1.056 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/1.485, allocations: 92.64 kB / 1.056 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 45.42/46.91, allocations: 10.47 GB / 11.52 GB, free: 45.75 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.814e-06/46.91, allocations: 0 / 11.52 GB, free: 45.75 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.003779/46.91, allocations: 354.9 kB / 11.52 GB, free: 45.69 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.04635/46.96, allocations: 11.19 MB / 11.53 GB, free: 40.79 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/46.96, allocations: 9.594 kB / 11.53 GB, free: 40.79 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004981/46.96, allocations: 0.787 MB / 11.54 GB, free: 40.72 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01741/46.98, allocations: 2.234 MB / 11.54 GB, free: 39.93 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06504/47.04, allocations: 18.75 MB / 11.56 GB, free: 37.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00115/47.04, allocations: 0.529 MB / 11.56 GB, free: 37.79 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00574/47.05, allocations: 0.7126 MB / 11.56 GB, free: 37.79 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04992/47.1, allocations: 13.07 MB / 11.57 GB, free: 37.18 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005233/47.1, allocations: 6.812 kB / 11.57 GB, free: 37.18 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004099/47.1, allocations: 252.5 kB / 11.57 GB, free: 37.18 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002681/47.11, allocations: 151.8 kB / 11.57 GB, free: 37.18 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04814/47.15, allocations: 17.54 MB / 11.59 GB, free: 37.13 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.1406/47.29, allocations: 70.12 MB / 11.66 GB, free: 21.28 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01527/47.31, allocations: 9.452 MB / 11.67 GB, free: 21.12 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01267/47.32, allocations: 8.441 MB / 11.67 GB, free: 21.06 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 evalFunc (simulation): time 0.0688/47.39, allocations: 29.51 MB / 11.7 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01428/47.41, allocations: 8.106 MB / 11.71 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04448/47.45, allocations: 15.22 MB / 11.73 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=393): time 4.43e-05/47.45, allocations: 0 / 11.73 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of matching and sorting (n=581): time 1.18/48.63, allocations: 76.66 MB / 11.8 GB, free: 80.21 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/48.63, allocations: 117.5 kB / 11.8 GB, free: 80.14 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02717/48.66, allocations: 12.01 MB / 11.81 GB, free: 79.48 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.004336/48.66, allocations: 184.9 kB / 11.81 GB, free: 79.45 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.01067/48.67, allocations: 6.014 MB / 11.82 GB, free: 79.26 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.004642/48.68, allocations: 1.955 MB / 11.82 GB, free: 79.16 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002238/48.68, allocations: 147.9 kB / 11.82 GB, free: 79.16 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0005329/48.68, allocations: 0.5939 MB / 11.82 GB, free: 78.84 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01321/48.69, allocations: 7.803 MB / 11.83 GB, free: 78.82 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01675/48.71, allocations: 10.37 MB / 11.84 GB, free: 75.97 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01587/48.73, allocations: 8.717 MB / 11.85 GB, free: 75.79 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001333/48.73, allocations: 15.72 kB / 11.85 GB, free: 75.79 MB / 0.9792 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.05964/48.78, allocations: 26.11 MB / 11.87 GB, free: 74.79 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.005907/48.79, allocations: 29.71 MB / 11.9 GB, free: 44.11 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002049/48.79, allocations: 51.02 kB / 11.9 GB, free: 44.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7371/49.53, allocations: 170.4 MB / 12.07 GB, free: 42.06 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01093/49.54, allocations: 1.774 MB / 12.07 GB, free: 40.81 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04181/49.58, allocations: 26.57 MB / 12.1 GB, free: 24.92 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02057/49.6, allocations: 1.279 MB / 12.1 GB, free: 24.16 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004503/49.61, allocations: 0.7977 MB / 12.1 GB, free: 23.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/49.61, allocations: 8 kB / 12.1 GB, free: 23.7 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04655/49.65, allocations: 25.17 MB / 12.12 GB, free: 9.543 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002102/49.65, allocations: 48 kB / 12.12 GB, free: 9.496 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689/51.34, allocations: 170.6 MB / 12.29 GB, free: 90.85 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009624/51.35, allocations: 1.757 MB / 12.29 GB, free: 90.83 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05683/51.41, allocations: 30.92 MB / 12.32 GB, free: 86.98 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02101/51.43, allocations: 1.256 MB / 12.32 GB, free: 86.91 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004255/51.43, allocations: 0.7545 MB / 12.32 GB, free: 86.91 MB / 0.9948 GB 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 (662): * Single equations (assignments): 648 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,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: 3 {39 57,6 79,8 77} Notification: Performance of prepare postOptimizeDAE: time 0.004882/51.44, allocations: 0.5219 MB / 12.32 GB, free: 86.8 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004663/51.44, allocations: 1.217 MB / 12.32 GB, free: 86.8 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0595/51.5, allocations: 23.33 MB / 12.35 GB, free: 85.96 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001741/51.5, allocations: 85.5 kB / 12.35 GB, free: 85.96 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.919e-05/51.5, allocations: 0 / 12.35 GB, free: 85.96 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03912/51.54, allocations: 17.8 MB / 12.36 GB, free: 85.31 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.159/51.7, allocations: 54.2 MB / 12.42 GB, free: 75.44 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.475e-05/51.7, allocations: 8 kB / 12.42 GB, free: 75.43 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006817/51.71, allocations: 1.263 MB / 12.42 GB, free: 74.52 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2026/51.91, allocations: 48.86 MB / 12.47 GB, free: 37.34 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002041/51.91, allocations: 193.8 kB / 12.47 GB, free: 37.25 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02118/51.93, allocations: 14.71 MB / 12.48 GB, free: 25.86 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.074e-05/51.93, allocations: 11 kB / 12.48 GB, free: 25.85 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06312/52, allocations: 32.86 MB / 12.51 GB, free: 4.449 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.9725/52.97, allocations: 2.962 MB / 12.52 GB, free: 93.56 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006348/52.98, allocations: 129.4 kB / 12.52 GB, free: 93.56 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01685/52.99, allocations: 1.01 MB / 12.52 GB, free: 93.56 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002781/53, allocations: 465 kB / 12.52 GB, free: 93.55 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002195/53, allocations: 292.6 kB / 12.52 GB, free: 93.55 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.02748/53.03, allocations: 9.155 MB / 12.53 GB, free: 93.13 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5.72e-07/53.03, allocations: 1.5 kB / 12.53 GB, free: 93.13 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.04963/53.08, allocations: 6.597 MB / 12.53 GB, free: 93.13 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (491): * Single equations (assignments): 469 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,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: 3 {5 76,37 57,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.08082/53.16, allocations: 38.12 MB / 12.57 GB, free: 87.44 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0793/53.24, allocations: 33.52 MB / 12.6 GB, free: 86.74 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.827e-05/53.24, allocations: 2.375 kB / 12.6 GB, free: 86.74 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.02027/53.26, allocations: 9.229 MB / 12.61 GB, free: 86.61 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03571/53.29, allocations: 6.206 MB / 12.62 GB, free: 86.55 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06967/53.36, allocations: 24.68 MB / 12.64 GB, free: 82.03 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009777/53.37, allocations: 7.23 MB / 12.65 GB, free: 81.04 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.03129/53.4, allocations: 6.412 MB / 12.66 GB, free: 80.93 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009796/53.41, allocations: 5.87 MB / 12.66 GB, free: 80.92 MB / 0.9948 GB Notification: Performance of SimCode: time 1.402e-06/53.41, allocations: 0 / 12.66 GB, free: 80.92 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.548/55.96, allocations: 0.5422 GB / 13.2 GB, free: 11.57 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/55.96, allocations: 209.2 kB / 13.2 GB, free: 11.34 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.14/84.1, allocations: 64 / 13.2 GB, free: 11.34 MB / 1.026 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)