Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Taps_Examples_DHW_example",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Taps.Examples.DHW_example,fileNamePrefix="IDEAS_dev_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.001783/0.001783, allocations: 174.6 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.8543/0.8543, allocations: 133.4 MB / 146.7 MB, free: 10.8 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.633/1.633, allocations: 221.3 MB / 400.4 MB, free: 5.848 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.001144/0.001144, allocations: 100.3 kB / 483.3 MB, free: 5.891 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.907e-05/3.931e-05, allocations: 2.969 kB / 0.5601 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2078, allocations: 82.31 MB / 0.6405 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.515/1.722, allocations: 345.6 MB / 0.978 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004168/1.723, allocations: 92.27 kB / 0.9781 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.588/3.311, allocations: 436.3 MB / 1.404 GB, free: 91.28 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.863e-06/3.311, allocations: 0 / 1.404 GB, free: 91.28 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001961/3.312, allocations: 31.98 kB / 1.404 GB, free: 91.25 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.003781/3.315, allocations: 1.314 MB / 1.405 GB, free: 89.88 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/3.315, allocations: 12.03 kB / 1.405 GB, free: 89.86 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003854/3.316, allocations: 122.8 kB / 1.406 GB, free: 89.73 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001842/3.318, allocations: 334.6 kB / 1.406 GB, free: 89.41 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002824/3.32, allocations: 1.078 MB / 1.407 GB, free: 88.29 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.339e-05/3.321, allocations: 61.98 kB / 1.407 GB, free: 88.23 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002321/3.321, allocations: 84 kB / 1.407 GB, free: 88.14 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/3.323, allocations: 0.8932 MB / 1.408 GB, free: 87.19 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/3.323, allocations: 0 / 1.408 GB, free: 87.19 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.904e-05/3.323, allocations: 36 kB / 1.408 GB, free: 87.15 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/3.323, allocations: 20 kB / 1.408 GB, free: 87.13 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/3.324, allocations: 0.6169 MB / 1.409 GB, free: 86.52 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.005676/3.33, allocations: 3.858 MB / 1.412 GB, free: 82.47 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006654/3.33, allocations: 424.7 kB / 1.413 GB, free: 82.05 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003185/3.331, allocations: 215.4 kB / 1.413 GB, free: 81.84 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008004/3.331, allocations: 0.9376 MB / 1.414 GB, free: 80.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004993/3.332, allocations: 326.9 kB / 1.414 GB, free: 80.36 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 5.02e-06/3.332, allocations: 0 / 1.414 GB, free: 80.36 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.001192/3.333, allocations: 0.5158 MB / 1.415 GB, free: 79.84 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/3.333, allocations: 122.7 kB / 1.415 GB, free: 79.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/3.334, allocations: 0.7643 MB / 1.416 GB, free: 78.91 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.215e-05/3.334, allocations: 33.7 kB / 1.416 GB, free: 78.87 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003558/3.335, allocations: 487.6 kB / 1.416 GB, free: 78.39 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001654/3.335, allocations: 161.6 kB / 1.416 GB, free: 78.23 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/3.335, allocations: 12 kB / 1.416 GB, free: 78.21 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.304e-05/3.335, allocations: 330.1 kB / 1.417 GB, free: 77.89 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003182/3.335, allocations: 193.5 kB / 1.417 GB, free: 77.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004036/3.336, allocations: 377.6 kB / 1.417 GB, free: 77.25 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004014/3.336, allocations: 251.2 kB / 1.417 GB, free: 77 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/3.336, allocations: 4 kB / 1.417 GB, free: 77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001269/3.338, allocations: 0.688 MB / 1.418 GB, free: 76.29 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.872e-05/3.338, allocations: 39.41 kB / 1.418 GB, free: 76.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/3.338, allocations: 8 kB / 1.418 GB, free: 76.24 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.031e-05/3.338, allocations: 8 kB / 1.418 GB, free: 76.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009574/3.339, allocations: 204 kB / 1.418 GB, free: 76.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.026e-05/3.339, allocations: 11.94 kB / 1.418 GB, free: 76.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/3.34, allocations: 159 kB / 1.418 GB, free: 75.87 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/3.34, allocations: 43.97 kB / 1.418 GB, free: 75.82 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.0001835/3.34, allocations: 140.8 kB / 1.419 GB, free: 75.68 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002175/3.34, allocations: 94.88 kB / 1.419 GB, free: 75.59 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001634/3.342, allocations: 0.8981 MB / 1.42 GB, free: 74.68 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/3.342, allocations: 11.94 kB / 1.42 GB, free: 74.66 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/3.342, allocations: 0 / 1.42 GB, free: 74.66 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/3.342, allocations: 3.984 kB / 1.42 GB, free: 74.66 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002924/3.345, allocations: 1.929 MB / 1.421 GB, free: 72.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/3.345, allocations: 16.05 kB / 1.422 GB, free: 72.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008276/3.346, allocations: 163.8 kB / 1.422 GB, free: 72.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.43e-05/3.346, allocations: 8 kB / 1.422 GB, free: 72.46 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.409e-05/3.346, allocations: 19.98 kB / 1.422 GB, free: 72.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/3.346, allocations: 4 kB / 1.422 GB, free: 72.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/3.346, allocations: 4 kB / 1.422 GB, free: 72.43 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001564/3.348, allocations: 1.22 MB / 1.423 GB, free: 71.15 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007012/3.348, allocations: 279.6 kB / 1.423 GB, free: 70.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003274/3.349, allocations: 15.95 kB / 1.423 GB, free: 70.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/3.35, allocations: 119.8 kB / 1.423 GB, free: 70.73 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/3.35, allocations: 48.31 kB / 1.423 GB, free: 70.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.884e-05/3.35, allocations: 23.98 kB / 1.423 GB, free: 70.66 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001205/3.351, allocations: 0.6108 MB / 1.424 GB, free: 70.03 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.91e-07/3.351, allocations: 4 kB / 1.424 GB, free: 70.03 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001994/3.353, allocations: 395.5 kB / 1.424 GB, free: 69.64 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.003926/3.357, allocations: 2.879 MB / 1.427 GB, free: 66.79 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001074/3.358, allocations: 0.5953 MB / 1.428 GB, free: 66.18 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/3.358, allocations: 4 kB / 1.428 GB, free: 66.18 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004743/3.359, allocations: 311.9 kB / 1.428 GB, free: 65.88 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002456/3.361, allocations: 450.4 kB / 1.428 GB, free: 65.43 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004078/3.365, allocations: 1.56 MB / 1.43 GB, free: 63.81 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006313/3.366, allocations: 1.065 MB / 1.431 GB, free: 62.72 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001037/3.367, allocations: 209.9 kB / 1.431 GB, free: 62.51 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006075/3.368, allocations: 395.3 kB / 1.432 GB, free: 62.12 MB / 0.6823 GB Notification: Performance of SimCode: time 2.164e-06/3.368, allocations: 0 / 1.432 GB, free: 62.12 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3724/3.74, allocations: 32.66 MB / 1.463 GB, free: 29.68 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002045/3.74, allocations: 177.3 kB / 1.464 GB, free: 29.45 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.74/7.48, allocations: 3.938 kB / 1.464 GB, free: 29.45 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Taps_Examples_DHW_example_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Taps_Examples_DHW_example.fmu > IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe 2>&1)