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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009583/0.009583, allocations: 103.1 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 193.6 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.83/0.83, allocations: 135.1 MB / 425.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 62.78 kB / 0.5851 GB, free: 21.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1704, allocations: 80.93 MB / 0.6641 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.04017/0.2106, allocations: 41.95 MB / 0.7051 GB, free: 12.22 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01569/0.2264, allocations: 10.93 MB / 0.7158 GB, free: 1.258 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002529/0.2289, allocations: 51.75 kB / 0.7158 GB, free: 1.207 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001785/0.2307, allocations: 0.5586 MB / 0.7164 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00502/0.2359, allocations: 1.407 MB / 0.7177 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003709/0.2396, allocations: 1.298 MB / 0.719 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004955/0.2446, allocations: 2.67 MB / 0.7216 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002179/0.2468, allocations: 1.088 MB / 0.7227 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003344/0.2501, allocations: 1.162 MB / 0.7238 GB, free: 9 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001732/0.2519, allocations: 0.8127 MB / 0.7246 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000203/0.2521, allocations: 108 kB / 0.7247 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001918/0.254, allocations: 0.6866 MB / 0.7254 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002972/0.2543, allocations: 275 kB / 0.7256 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000728/0.2551, allocations: 0.6142 MB / 0.7262 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002806/0.2579, allocations: 1.851 MB / 0.7281 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.2579, allocations: 0 / 0.7281 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2579, allocations: 0 / 0.7281 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.198e-05/0.2579, allocations: 0 / 0.7281 GB, free: 4.648 MB / 0.5606 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.002487/0.2604, allocations: 1.509 MB / 0.7295 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.2605, allocations: 9.109 kB / 0.7295 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001419/0.2606, allocations: 127 kB / 0.7297 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001748/0.2624, allocations: 323.1 kB / 0.73 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001689/0.2641, allocations: 0.9641 MB / 0.7309 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.971e-05/0.2642, allocations: 62 kB / 0.731 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.2643, allocations: 76 kB / 0.731 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/0.2664, allocations: 1.005 MB / 0.732 GB, free: 432 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.063e-05/0.2664, allocations: 3.938 kB / 0.732 GB, free: 428 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.2665, allocations: 36 kB / 0.7321 GB, free: 392 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.2665, allocations: 16 kB / 0.7321 GB, free: 376 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002226/0.2688, allocations: 0.8273 MB / 0.7329 GB, free: 15.54 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.00542/0.2742, allocations: 4.009 MB / 0.7368 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/0.276, allocations: 0.6091 MB / 0.7374 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008532/0.2769, allocations: 317.1 kB / 0.7377 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001038/0.278, allocations: 0.9418 MB / 0.7386 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001099/0.2791, allocations: 431.1 kB / 0.739 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=47): time 2.895e-06/0.2791, allocations: 0 / 0.739 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47): time 0.00305/0.2821, allocations: 0.9684 MB / 0.74 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.199e-05/0.2822, allocations: 118.7 kB / 0.7401 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.2835, allocations: 0.8824 MB / 0.7409 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.358e-05/0.2836, allocations: 33.7 kB / 0.741 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003795/0.284, allocations: 479.7 kB / 0.7414 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.2842, allocations: 173.6 kB / 0.7416 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002198/0.2844, allocations: 130.2 kB / 0.7417 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.2845, allocations: 334 kB / 0.742 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008552/0.2854, allocations: 293 kB / 0.7423 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.2864, allocations: 492.1 kB / 0.7428 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001858/0.2883, allocations: 0.7819 MB / 0.7436 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.2883, allocations: 4 kB / 0.7436 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002458/0.2908, allocations: 0.9296 MB / 0.7445 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.523e-05/0.2908, allocations: 33.7 kB / 0.7445 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.2908, allocations: 4.656 kB / 0.7445 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.449e-05/0.2909, allocations: 16 kB / 0.7445 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000972/0.2919, allocations: 195.7 kB / 0.7447 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/0.2919, allocations: 11.94 kB / 0.7447 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009183/0.2928, allocations: 123.1 kB / 0.7448 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.676e-05/0.2929, allocations: 35.98 kB / 0.7449 GB, free: 2.578 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (mDHW60C.count,$PRE.mDHW60C.count,mDHW60C.T_start,$PRE.mDHW60C.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004576/0.2934, allocations: 265.6 kB / 0.7451 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.2935, allocations: 106.7 kB / 0.7452 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002625/0.2962, allocations: 1.07 MB / 0.7463 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.755e-05/0.2962, allocations: 11.98 kB / 0.7463 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2962, allocations: 0 / 0.7463 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.2962, allocations: 3.984 kB / 0.7463 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3632/0.6595, allocations: 2.152 MB / 0.7484 GB, free: 80.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/0.6595, allocations: 2.219 kB / 0.7484 GB, free: 80.04 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009888/0.6605, allocations: 154.3 kB / 0.7485 GB, free: 80.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-05/0.6605, allocations: 3.656 kB / 0.7485 GB, free: 80.04 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-05/0.6606, allocations: 25.03 kB / 0.7486 GB, free: 80.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.079e-05/0.6606, allocations: 5.906 kB / 0.7486 GB, free: 80.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.6606, allocations: 0.9375 kB / 0.7486 GB, free: 80.04 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003778/0.6644, allocations: 1.464 MB / 0.75 GB, free: 79.78 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005012/0.6649, allocations: 269 kB / 0.7503 GB, free: 79.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.665, allocations: 15.8 kB / 0.7503 GB, free: 79.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007812/0.6658, allocations: 71.53 kB / 0.7503 GB, free: 79.68 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.666, allocations: 48.86 kB / 0.7504 GB, free: 79.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.206e-05/0.666, allocations: 27.84 kB / 0.7504 GB, free: 79.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009371/0.667, allocations: 0.6238 MB / 0.751 GB, free: 79.54 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.71e-07/0.667, allocations: 0 / 0.751 GB, free: 79.54 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001062/0.6681, allocations: 361.2 kB / 0.7514 GB, free: 79.51 MB / 0.5762 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004818/0.6729, allocations: 2.574 MB / 0.7539 GB, free: 78.27 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002337/0.6752, allocations: 0.8027 MB / 0.7547 GB, free: 78.02 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.6753, allocations: 0.9062 kB / 0.7547 GB, free: 78.02 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001181/0.6764, allocations: 412.5 kB / 0.7551 GB, free: 77.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002334/0.6788, allocations: 477.2 kB / 0.7555 GB, free: 77.79 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01996/0.6988, allocations: 8.312 MB / 0.7636 GB, free: 73.82 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000766/0.6996, allocations: 1.043 MB / 0.7646 GB, free: 73.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001124/0.7007, allocations: 221.3 kB / 0.7649 GB, free: 73.04 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000569/0.7013, allocations: 405.9 kB / 0.7652 GB, free: 72.75 MB / 0.5762 GB Notification: Performance of SimCode: time 1.463e-06/0.7013, allocations: 0 / 0.7652 GB, free: 72.75 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05895/0.7603, allocations: 30.45 MB / 0.795 GB, free: 52.06 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.363/10.12, allocations: 4.062 kB / 0.795 GB, free: 52.05 MB / 0.5762 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/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)