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: 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/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 182.8 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.834/0.834, allocations: 133.3 MB / 150.1 MB, free: 11.14 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.417/1.417, allocations: 222.9 MB / 404.7 MB, free: 6.043 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.001164/0.001164, allocations: 103.5 kB / 485.9 MB, free: 7.188 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 51.91 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.152, allocations: 80.43 MB / 0.6421 GB, free: 5.43 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.04092/0.1929, allocations: 41.71 MB / 0.6829 GB, free: 11.57 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01656/0.2095, allocations: 10.94 MB / 0.6935 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003067/0.2126, allocations: 47.69 kB / 0.6936 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002292/0.2149, allocations: 457.3 kB / 0.694 GB, free: 108 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.353/0.568, allocations: 1.303 MB / 0.6953 GB, free: 11.4 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003322/0.5713, allocations: 1.161 MB / 0.6964 GB, free: 11.39 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.005699/0.5771, allocations: 3.547 MB / 0.6999 GB, free: 11.38 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001789/0.5789, allocations: 0.9158 MB / 0.7008 GB, free: 11.26 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002826/0.5817, allocations: 0.9805 MB / 0.7018 GB, free: 11.26 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001702/0.5834, allocations: 0.8166 MB / 0.7026 GB, free: 11.11 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001607/0.5836, allocations: 57.88 kB / 0.7026 GB, free: 11.11 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002057/0.5857, allocations: 0.66 MB / 0.7032 GB, free: 11.11 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002839/0.586, allocations: 218.1 kB / 0.7035 GB, free: 11.07 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007715/0.5868, allocations: 0.5645 MB / 0.704 GB, free: 10.89 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002858/0.5896, allocations: 1.783 MB / 0.7058 GB, free: 10.66 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.5896, allocations: 5.062 kB / 0.7058 GB, free: 10.65 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.5896, allocations: 2.906 kB / 0.7058 GB, free: 10.65 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.759e-05/0.5897, allocations: 0 / 0.7058 GB, free: 10.65 MB / 490.7 MB 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.002796/0.5925, allocations: 1.51 MB / 0.7072 GB, free: 9.805 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.5925, allocations: 8.781 kB / 0.7072 GB, free: 9.805 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001853/0.5944, allocations: 325.8 kB / 0.7076 GB, free: 9.738 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/0.5961, allocations: 0.9475 MB / 0.7085 GB, free: 9.406 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.77e-05/0.5961, allocations: 69.47 kB / 0.7085 GB, free: 9.398 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.5963, allocations: 78.36 kB / 0.7086 GB, free: 9.398 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002153/0.5984, allocations: 0.9913 MB / 0.7096 GB, free: 9.223 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.5985, allocations: 1.094 kB / 0.7096 GB, free: 9.223 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.809e-05/0.5985, allocations: 33.25 kB / 0.7096 GB, free: 9.223 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.5986, allocations: 23.28 kB / 0.7096 GB, free: 9.219 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002159/0.6007, allocations: 0.8232 MB / 0.7104 GB, free: 9.207 MB / 490.7 MB 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.004964/0.6057, allocations: 3.861 MB / 0.7142 GB, free: 7.277 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001767/0.6075, allocations: 0.614 MB / 0.7148 GB, free: 7.246 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008171/0.6083, allocations: 315.2 kB / 0.7151 GB, free: 7.23 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007897/0.6091, allocations: 0.9429 MB / 0.716 GB, free: 6.195 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/0.6102, allocations: 427.5 kB / 0.7164 GB, free: 6.125 MB / 490.7 MB Notification: Performance of pre-optimization done (n=47): time 2.625e-06/0.6102, allocations: 4 kB / 0.7164 GB, free: 6.121 MB / 490.7 MB Notification: Performance of matching and sorting (n=47): time 0.002924/0.6131, allocations: 0.9634 MB / 0.7174 GB, free: 6.027 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.6132, allocations: 112.2 kB / 0.7175 GB, free: 5.898 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.6143, allocations: 0.8572 MB / 0.7183 GB, free: 5.742 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.522e-05/0.6144, allocations: 39.83 kB / 0.7184 GB, free: 5.707 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003278/0.6147, allocations: 483.9 kB / 0.7188 GB, free: 5.52 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.6149, allocations: 169.2 kB / 0.719 GB, free: 5.414 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000228/0.6151, allocations: 127.8 kB / 0.7191 GB, free: 5.395 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.362e-05/0.6152, allocations: 328.3 kB / 0.7194 GB, free: 5.09 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008694/0.616, allocations: 293.2 kB / 0.7197 GB, free: 5.086 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000978/0.617, allocations: 470.5 kB / 0.7202 GB, free: 4.898 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001804/0.6188, allocations: 0.7627 MB / 0.7209 GB, free: 4.672 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.6189, allocations: 1.688 kB / 0.7209 GB, free: 4.672 MB / 490.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002304/0.6212, allocations: 0.9103 MB / 0.7218 GB, free: 4.543 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.785e-05/0.6212, allocations: 35.77 kB / 0.7218 GB, free: 4.512 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.6212, allocations: 5.188 kB / 0.7218 GB, free: 4.512 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/0.6213, allocations: 7.75 kB / 0.7218 GB, free: 4.512 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009902/0.6223, allocations: 198.4 kB / 0.722 GB, free: 4.508 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.732e-05/0.6223, allocations: 14.59 kB / 0.722 GB, free: 4.504 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.6233, allocations: 139.1 kB / 0.7222 GB, free: 4.461 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-05/0.6234, allocations: 33.39 kB / 0.7222 GB, free: 4.461 MB / 490.7 MB 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.0004561/0.6239, allocations: 265.8 kB / 0.7225 GB, free: 4.348 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/0.6241, allocations: 98.25 kB / 0.7226 GB, free: 4.297 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002666/0.6268, allocations: 1.087 MB / 0.7236 GB, free: 4.195 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.282e-05/0.6268, allocations: 8.578 kB / 0.7236 GB, free: 4.195 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.6268, allocations: 4.562 kB / 0.7236 GB, free: 4.191 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.6268, allocations: 4.078 kB / 0.7236 GB, free: 4.191 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003872/0.6307, allocations: 2.153 MB / 0.7257 GB, free: 3.605 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.6307, allocations: 3.562 kB / 0.7257 GB, free: 3.605 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008279/0.6316, allocations: 151.4 kB / 0.7259 GB, free: 3.602 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/0.6316, allocations: 5.75 kB / 0.7259 GB, free: 3.602 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.905e-05/0.6316, allocations: 18.83 kB / 0.7259 GB, free: 3.602 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.6317, allocations: 9.516 kB / 0.7259 GB, free: 3.602 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.6317, allocations: 1.375 kB / 0.7259 GB, free: 3.602 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02033/0.652, allocations: 7.118 MB / 0.7329 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004967/0.6525, allocations: 271.6 kB / 0.7331 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.6527, allocations: 12.56 kB / 0.7331 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008734/0.6536, allocations: 92.84 kB / 0.7332 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.6537, allocations: 48.16 kB / 0.7333 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.503e-05/0.6538, allocations: 28.86 kB / 0.7333 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001014/0.6549, allocations: 0.6031 MB / 0.7339 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6549, allocations: 0 / 0.7339 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001983/0.6569, allocations: 488.9 kB / 0.7344 GB, free: 14.5 MB / 0.4948 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.001807/0.6587, allocations: 0.6738 MB / 0.735 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002271/0.661, allocations: 0.791 MB / 0.7358 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.661, allocations: 3 kB / 0.7358 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.6622, allocations: 408.3 kB / 0.7362 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002713/0.6649, allocations: 456.6 kB / 0.7366 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009432/0.6743, allocations: 3.111 MB / 0.7397 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001238/0.6756, allocations: 1.052 MB / 0.7407 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001656/0.6773, allocations: 221.2 kB / 0.7409 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005545/0.6779, allocations: 104.7 kB / 0.741 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of SimCode: time 1.172e-06/0.6779, allocations: 0 / 0.741 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of Templates: time 0.03952/0.7174, allocations: 22.86 MB / 0.7633 GB, free: 5.238 MB / 0.5105 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)