Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.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.Taps.Examples.DHW_example,fileNamePrefix="IDEAS_IDEAS_Fluid_Taps_Examples_DHW_example",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Taps.Examples.DHW_example,fileNamePrefix="IDEAS_IDEAS_Fluid_Taps_Examples_DHW_example",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.001542/0.001542, allocations: 174.8 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.7648/0.7648, 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.577/1.577, allocations: 221.3 MB / 400.4 MB, free: 5.84 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.001053/0.001052, allocations: 103.8 kB / 483.3 MB, free: 5.867 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.815e-05/3.824e-05, allocations: 2.781 kB / 0.5601 GB, free: 87.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1898, allocations: 82.31 MB / 0.6405 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.556/1.746, allocations: 345.6 MB / 0.978 GB, free: 258.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004598/1.746, allocations: 91.91 kB / 0.9781 GB, free: 258.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.604/3.35, allocations: 436.3 MB / 1.404 GB, free: 105 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.384e-06/3.35, allocations: 0 / 1.404 GB, free: 105 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001938/3.35, allocations: 27.83 kB / 1.404 GB, free: 104.9 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.003675/3.354, allocations: 1.31 MB / 1.405 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/3.354, allocations: 8.031 kB / 1.405 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004193/3.355, allocations: 126.8 kB / 1.406 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00189/3.356, allocations: 326.3 kB / 1.406 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002955/3.359, allocations: 1.085 MB / 1.407 GB, free: 102 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.165e-05/3.36, allocations: 62 kB / 1.407 GB, free: 102 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002382/3.36, allocations: 79.94 kB / 1.407 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001795/3.362, allocations: 0.899 MB / 1.408 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/3.362, allocations: 3.938 kB / 1.408 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-05/3.362, allocations: 32 kB / 1.408 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/3.362, allocations: 24 kB / 1.408 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/3.363, allocations: 0.6208 MB / 1.409 GB, free: 100.3 MB / 0.6823 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.004888/3.368, allocations: 3.845 MB / 1.412 GB, free: 96.27 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006099/3.368, allocations: 425.8 kB / 1.413 GB, free: 95.85 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/3.369, allocations: 215.5 kB / 1.413 GB, free: 95.64 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008429/3.37, allocations: 0.9374 MB / 1.414 GB, free: 94.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004747/3.37, allocations: 323 kB / 1.414 GB, free: 94.17 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 3.327e-06/3.37, allocations: 0 / 1.414 GB, free: 94.17 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.001071/3.371, allocations: 0.5198 MB / 1.415 GB, free: 93.64 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.486e-05/3.371, allocations: 122.6 kB / 1.415 GB, free: 93.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009363/3.372, allocations: 0.7643 MB / 1.416 GB, free: 92.71 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.069e-05/3.372, allocations: 37.7 kB / 1.416 GB, free: 92.67 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003344/3.373, allocations: 479.7 kB / 1.416 GB, free: 92.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/3.373, allocations: 161.4 kB / 1.416 GB, free: 92.04 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.432e-05/3.373, allocations: 16 kB / 1.416 GB, free: 92.02 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001025/3.373, allocations: 326 kB / 1.417 GB, free: 91.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003323/3.373, allocations: 193.5 kB / 1.417 GB, free: 91.51 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003928/3.374, allocations: 373.6 kB / 1.417 GB, free: 91.07 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003515/3.374, allocations: 251.2 kB / 1.417 GB, free: 90.82 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/3.374, allocations: 4 kB / 1.417 GB, free: 90.81 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00106/3.375, allocations: 0.6957 MB / 1.418 GB, free: 90.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.116e-05/3.375, allocations: 33.7 kB / 1.418 GB, free: 90.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/3.375, allocations: 4 kB / 1.418 GB, free: 90.06 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.851e-05/3.375, allocations: 12 kB / 1.418 GB, free: 90.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009345/3.376, allocations: 208 kB / 1.418 GB, free: 89.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.03e-05/3.376, allocations: 11.94 kB / 1.418 GB, free: 89.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/3.377, allocations: 159 kB / 1.418 GB, free: 89.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.972e-05/3.377, allocations: 39.94 kB / 1.418 GB, free: 89.64 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mDHW60C.T_start,mDHW60C.T_start,$PRE.mDHW60C.count,mDHW60C.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001568/3.377, allocations: 146.2 kB / 1.419 GB, free: 89.49 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/3.378, allocations: 94.88 kB / 1.419 GB, free: 89.39 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001465/3.379, allocations: 0.8942 MB / 1.42 GB, free: 88.49 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/3.379, allocations: 7.984 kB / 1.42 GB, free: 88.48 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/3.379, allocations: 4 kB / 1.42 GB, free: 88.48 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/3.379, allocations: 3.984 kB / 1.42 GB, free: 88.47 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002434/3.381, allocations: 1.937 MB / 1.421 GB, free: 86.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/3.382, allocations: 15.67 kB / 1.422 GB, free: 86.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007897/3.382, allocations: 167.7 kB / 1.422 GB, free: 86.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/3.382, allocations: 8 kB / 1.422 GB, free: 86.28 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.421e-05/3.382, allocations: 19.98 kB / 1.422 GB, free: 86.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.299e-06/3.382, allocations: 4 kB / 1.422 GB, free: 86.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/3.382, allocations: 0 / 1.422 GB, free: 86.25 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/3.384, allocations: 1.224 MB / 1.423 GB, free: 84.97 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003824/3.384, allocations: 283.6 kB / 1.423 GB, free: 84.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/3.384, allocations: 12 kB / 1.423 GB, free: 84.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008599/3.385, allocations: 115.8 kB / 1.423 GB, free: 84.55 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/3.385, allocations: 52.36 kB / 1.423 GB, free: 84.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.645e-05/3.385, allocations: 23.98 kB / 1.423 GB, free: 84.47 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007186/3.386, allocations: 0.6109 MB / 1.424 GB, free: 83.85 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/3.386, allocations: 0 / 1.424 GB, free: 83.85 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00133/3.387, allocations: 395.5 kB / 1.424 GB, free: 83.46 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (dHW_RealInput.THot.T,dHW_ProfileReader.THot.T) * Number of discrete variables: 3 ($whenCondition1,mDHW60C.T_start,mDHW60C.count) * Number of discrete states: 1 (mDHW60C.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003526/3.391, allocations: 2.877 MB / 1.427 GB, free: 80.72 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009765/3.392, allocations: 0.5953 MB / 1.428 GB, free: 80.12 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/3.392, allocations: 4 kB / 1.428 GB, free: 80.11 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004205/3.392, allocations: 311.8 kB / 1.428 GB, free: 79.81 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002057/3.394, allocations: 462.1 kB / 1.428 GB, free: 79.38 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002994/3.397, allocations: 1.564 MB / 1.43 GB, free: 77.75 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004671/3.398, allocations: 1.057 MB / 1.431 GB, free: 76.66 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008296/3.399, allocations: 207.1 kB / 1.431 GB, free: 76.46 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000514/3.399, allocations: 399.3 kB / 1.432 GB, free: 76.07 MB / 0.6823 GB Notification: Performance of SimCode: time 1.623e-06/3.399, allocations: 0 / 1.432 GB, free: 76.07 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.367/3.766, allocations: 32.64 MB / 1.463 GB, free: 43.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/3.767, allocations: 172.9 kB / 1.464 GB, free: 43.47 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.514/7.281, allocations: 3.938 kB / 1.464 GB, free: 43.47 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; mkfifo IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe >> ../files/IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Taps_Examples_DHW_example_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Taps_Examples_DHW_example.fmu > IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe 2>&1)