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: translateModel(IDEAS.Fluid.Taps.Examples.DHW_example,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example") translateModel(IDEAS.Fluid.Taps.Examples.DHW_example,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001218/0.001218, allocations: 189.6 kB / 16.25 MB, free: 6.152 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.353/1.353, allocations: 222.9 MB / 239.9 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.913/0.913, allocations: 135.6 MB / 425.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 63.5 kB / 0.5054 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1492, allocations: 81.02 MB / 0.5845 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.2694/0.4186, allocations: 41.62 MB / 0.6251 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01032/0.429, allocations: 10.82 MB / 0.6357 GB, free: 22.73 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.4304, allocations: 46.47 kB / 0.6357 GB, free: 22.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.4315, allocations: 480.1 kB / 0.6362 GB, free: 22.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002528/0.4341, allocations: 1.302 MB / 0.6375 GB, free: 21.65 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002237/0.4363, allocations: 1.176 MB / 0.6386 GB, free: 20.98 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002064/0.4384, allocations: 2.69 MB / 0.6413 GB, free: 19.68 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009218/0.4393, allocations: 1.084 MB / 0.6423 GB, free: 19.17 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001929/0.4413, allocations: 1.131 MB / 0.6434 GB, free: 18.62 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006779/0.442, allocations: 0.8352 MB / 0.6442 GB, free: 18.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.4421, allocations: 108.7 kB / 0.6443 GB, free: 18.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/0.4433, allocations: 0.6899 MB / 0.645 GB, free: 18.02 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001754/0.4434, allocations: 273.9 kB / 0.6453 GB, free: 17.85 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003766/0.4438, allocations: 0.6173 MB / 0.6459 GB, free: 17.46 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001395/0.4452, allocations: 1.828 MB / 0.6477 GB, free: 16.75 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.4452, allocations: 0 / 0.6477 GB, free: 16.75 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4452, allocations: 0 / 0.6477 GB, free: 16.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.276e-05/0.4453, allocations: 0 / 0.6477 GB, free: 16.75 MB / 0.4981 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.001785/0.4471, allocations: 1.515 MB / 0.6491 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.4471, allocations: 10.19 kB / 0.6491 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001573/0.4487, allocations: 323.2 kB / 0.6495 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.4498, allocations: 0.9458 MB / 0.6504 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.845e-05/0.4499, allocations: 61.81 kB / 0.6504 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.45, allocations: 76.69 kB / 0.6505 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/0.4517, allocations: 0.9977 MB / 0.6515 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.4517, allocations: 0 / 0.6515 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.088e-05/0.4518, allocations: 31.5 kB / 0.6515 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.4518, allocations: 20.97 kB / 0.6515 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001902/0.4537, allocations: 0.8248 MB / 0.6523 GB, free: 14.21 MB / 0.4981 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.004128/0.4579, allocations: 3.851 MB / 0.6561 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/0.4595, allocations: 0.6298 MB / 0.6567 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007525/0.4603, allocations: 303.9 kB / 0.657 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007558/0.461, allocations: 0.9438 MB / 0.6579 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001068/0.4621, allocations: 431.1 kB / 0.6583 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 2.265e-06/0.4621, allocations: 0 / 0.6583 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47): time 0.003012/0.4651, allocations: 0.9659 MB / 0.6593 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.576e-05/0.4652, allocations: 114.1 kB / 0.6594 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.4664, allocations: 0.8577 MB / 0.6602 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.255e-05/0.4665, allocations: 38 kB / 0.6603 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003376/0.4668, allocations: 485.2 kB / 0.6607 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.467, allocations: 165.7 kB / 0.6609 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002298/0.4672, allocations: 128.1 kB / 0.661 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.689e-05/0.4673, allocations: 331.8 kB / 0.6613 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008474/0.4682, allocations: 292.3 kB / 0.6616 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009609/0.4691, allocations: 468.6 kB / 0.6621 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001633/0.4708, allocations: 0.7607 MB / 0.6628 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/0.4708, allocations: 1.344 kB / 0.6628 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002188/0.473, allocations: 0.9056 MB / 0.6637 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.957e-05/0.473, allocations: 39.31 kB / 0.6637 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.4731, allocations: 9.344 kB / 0.6637 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.591e-05/0.4731, allocations: 11.88 kB / 0.6637 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009635/0.4741, allocations: 190.4 kB / 0.6639 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.794e-05/0.4741, allocations: 9.766 kB / 0.6639 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.4751, allocations: 141 kB / 0.6641 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.793e-05/0.4752, allocations: 32.39 kB / 0.6641 GB, free: 6.949 MB / 0.4981 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 (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 (73): * Single equations (assignments): 72 * 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.0003927/0.4756, allocations: 270.3 kB / 0.6644 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.4757, allocations: 100 kB / 0.6644 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002509/0.4783, allocations: 1.087 MB / 0.6655 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.4783, allocations: 11.25 kB / 0.6655 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.4783, allocations: 5.531 kB / 0.6655 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.4783, allocations: 3.047 kB / 0.6655 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003614/0.4819, allocations: 2.15 MB / 0.6676 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.482, allocations: 1.094 kB / 0.6676 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008241/0.4828, allocations: 154.2 kB / 0.6678 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.375e-06/0.4828, allocations: 7.359 kB / 0.6678 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.824e-05/0.4829, allocations: 15.66 kB / 0.6678 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-06/0.4829, allocations: 8.469 kB / 0.6678 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.4829, allocations: 1.188 kB / 0.6678 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002892/0.4858, allocations: 1.47 MB / 0.6692 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003918/0.4862, allocations: 265.5 kB / 0.6695 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.4863, allocations: 18 kB / 0.6695 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008153/0.4871, allocations: 94.84 kB / 0.6696 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.4873, allocations: 46.84 kB / 0.6696 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.955e-05/0.4873, allocations: 24.92 kB / 0.6697 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007615/0.4881, allocations: 0.6073 MB / 0.6703 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4881, allocations: 0 / 0.6703 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009949/0.4891, allocations: 352.7 kB / 0.6706 GB, free: 3.867 MB / 0.4981 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.001704/0.4908, allocations: 0.6619 MB / 0.6712 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002118/0.4929, allocations: 0.8461 MB / 0.6721 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.493, allocations: 1.344 kB / 0.6721 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009296/0.4939, allocations: 413.7 kB / 0.6725 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/0.4959, allocations: 467 kB / 0.6729 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007285/0.5031, allocations: 2.744 MB / 0.6756 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004702/0.5036, allocations: 1.039 MB / 0.6766 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008333/0.5045, allocations: 219.9 kB / 0.6768 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002507/0.5047, allocations: 101.2 kB / 0.6769 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.5047, allocations: 0 / 0.6769 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of Templates: time 0.03727/0.542, allocations: 20.37 MB / 0.6968 GB, free: 9.086 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe 2>&1)