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.0008292/0.0008291, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006103/0.006103, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.453/1.453, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9743/0.9743, allocations: 135.3 MB / 426.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004811/0.0004813, allocations: 9.75 kB / 0.5076 GB, free: 4.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2153, allocations: 82.3 MB / 0.588 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.3806/0.5959, allocations: 40.77 MB / 0.6278 GB, free: 29.77 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01433/0.6103, allocations: 10.8 MB / 0.6383 GB, free: 23.1 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002536/0.6129, allocations: 46.75 kB / 0.6384 GB, free: 23.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001851/0.6148, allocations: 451.6 kB / 0.6388 GB, free: 22.81 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004491/0.6193, allocations: 1.314 MB / 0.6401 GB, free: 22.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003372/0.6227, allocations: 1.175 MB / 0.6412 GB, free: 21.38 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004246/0.627, allocations: 3.524 MB / 0.6447 GB, free: 20.05 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001676/0.6287, allocations: 0.8884 MB / 0.6455 GB, free: 19.66 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002414/0.6311, allocations: 0.9335 MB / 0.6464 GB, free: 19.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001827/0.6329, allocations: 0.7756 MB / 0.6472 GB, free: 18.9 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003325/0.6333, allocations: 39.56 kB / 0.6472 GB, free: 18.9 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002607/0.6359, allocations: 0.6526 MB / 0.6479 GB, free: 18.69 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000501/0.6364, allocations: 181.2 kB / 0.648 GB, free: 18.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001487/0.6379, allocations: 0.5611 MB / 0.6486 GB, free: 18.24 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003405/0.6414, allocations: 1.749 MB / 0.6503 GB, free: 17.7 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.6414, allocations: 0 / 0.6503 GB, free: 17.7 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6414, allocations: 0 / 0.6503 GB, free: 17.7 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.125e-05/0.6415, allocations: 4 kB / 0.6503 GB, free: 17.69 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.003171/0.6446, allocations: 1.299 MB / 0.6516 GB, free: 16.79 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.6447, allocations: 8.188 kB / 0.6516 GB, free: 16.79 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002073/0.6468, allocations: 388.2 kB / 0.652 GB, free: 16.71 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001999/0.6488, allocations: 0.95 MB / 0.6529 GB, free: 16.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.021e-05/0.6489, allocations: 60 kB / 0.6529 GB, free: 16.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002206/0.6491, allocations: 76.47 kB / 0.653 GB, free: 16.04 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002347/0.6514, allocations: 1.042 MB / 0.654 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.6515, allocations: 0 / 0.654 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.025e-05/0.6516, allocations: 32.5 kB / 0.6541 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.6516, allocations: 19.41 kB / 0.6541 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00253/0.6541, allocations: 0.9019 MB / 0.655 GB, free: 15.27 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.006188/0.6603, allocations: 3.874 MB / 0.6587 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002043/0.6624, allocations: 0.668 MB / 0.6594 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001028/0.6635, allocations: 345.2 kB / 0.6597 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009476/0.6644, allocations: 0.9532 MB / 0.6607 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001259/0.6657, allocations: 459.5 kB / 0.6611 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 4.187e-06/0.6657, allocations: 0 / 0.6611 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47): time 0.00366/0.6694, allocations: 1.059 MB / 0.6621 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.6695, allocations: 109.4 kB / 0.6622 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/0.6712, allocations: 0.8613 MB / 0.6631 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.001e-05/0.6713, allocations: 38.77 kB / 0.6631 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000433/0.6718, allocations: 481 kB / 0.6636 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/0.672, allocations: 172.8 kB / 0.6637 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.6721, allocations: 54.77 kB / 0.6638 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.316e-05/0.6722, allocations: 328.1 kB / 0.6641 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009852/0.6732, allocations: 323.1 kB / 0.6644 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001102/0.6743, allocations: 496.9 kB / 0.6649 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001996/0.6763, allocations: 0.8267 MB / 0.6657 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/0.6763, allocations: 2.062 kB / 0.6657 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002699/0.679, allocations: 0.9566 MB / 0.6666 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.243e-05/0.6791, allocations: 34.25 kB / 0.6667 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.6791, allocations: 6.188 kB / 0.6667 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.072e-05/0.6792, allocations: 16.55 kB / 0.6667 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.6802, allocations: 208.6 kB / 0.6669 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.682e-05/0.6803, allocations: 12.91 kB / 0.6669 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.6815, allocations: 162.9 kB / 0.667 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.6817, allocations: 32.36 kB / 0.6671 GB, free: 7.992 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.0006134/0.6823, allocations: 266.5 kB / 0.6673 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000277/0.6826, allocations: 100.9 kB / 0.6674 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003098/0.6857, allocations: 1.149 MB / 0.6685 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-05/0.6857, allocations: 10.95 kB / 0.6686 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.6857, allocations: 0.875 kB / 0.6686 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.6857, allocations: 4.109 kB / 0.6686 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004824/0.6906, allocations: 2.204 MB / 0.6707 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.395e-06/0.6906, allocations: 1.219 kB / 0.6707 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009276/0.6915, allocations: 168.1 kB / 0.6709 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.687e-05/0.6916, allocations: 4.5 kB / 0.6709 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.315e-05/0.6916, allocations: 19.45 kB / 0.6709 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.919e-06/0.6916, allocations: 11.52 kB / 0.6709 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.6917, allocations: 2.719 kB / 0.6709 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003655/0.6953, allocations: 1.547 MB / 0.6724 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006325/0.696, allocations: 283 kB / 0.6727 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002687/0.6962, allocations: 13.66 kB / 0.6727 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.6973, allocations: 108.2 kB / 0.6728 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.6975, allocations: 59.05 kB / 0.6729 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-05/0.6976, allocations: 25.33 kB / 0.6729 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001219/0.6988, allocations: 0.6031 MB / 0.6735 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6988, allocations: 0 / 0.6735 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001569/0.7004, allocations: 354.5 kB / 0.6738 GB, free: 4.879 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.00176/0.7022, allocations: 0.6544 MB / 0.6745 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002497/0.7047, allocations: 0.8535 MB / 0.6753 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.7047, allocations: 3.938 kB / 0.6753 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001194/0.7059, allocations: 441.4 kB / 0.6757 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003199/0.7091, allocations: 450.9 kB / 0.6761 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009853/0.719, allocations: 2.983 MB / 0.6791 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009256/0.72, allocations: 1.05 MB / 0.6801 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001447/0.7214, allocations: 207.7 kB / 0.6803 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004195/0.7219, allocations: 96.2 kB / 0.6804 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of SimCode: time 1.653e-06/0.7219, allocations: 0 / 0.6804 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of Templates: time 0.04575/0.7676, allocations: 19.6 MB / 0.6995 GB, free: 9.566 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)