Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.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.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 118.3 kB / 16.42 MB, free: 6.48 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.001366/0.001366, allocations: 186.6 kB / 17.35 MB, free: 5.746 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.367/1.367, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8333/0.8333, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 62.09 kB / 0.5863 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1525, allocations: 80.91 MB / 0.6653 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.5459/0.6985, allocations: 200 MB / 0.8606 GB, free: 5.598 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01121/0.7098, allocations: 7.657 MB / 0.868 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00158/0.7114, allocations: 40.22 kB / 0.8681 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001934/0.7133, allocations: 0.7075 MB / 0.8688 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005504/0.7189, allocations: 2.074 MB / 0.8708 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003071/0.722, allocations: 1.177 MB / 0.8719 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003653/0.7257, allocations: 2.689 MB / 0.8746 GB, free: 8.852 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001391/0.7271, allocations: 0.9827 MB / 0.8755 GB, free: 7.859 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003673/0.7307, allocations: 1.606 MB / 0.8771 GB, free: 6.25 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001311/0.7321, allocations: 0.8334 MB / 0.8779 GB, free: 5.418 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001857/0.7323, allocations: 104 kB / 0.878 GB, free: 5.316 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003444/0.7357, allocations: 1.844 MB / 0.8798 GB, free: 3.469 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003486/0.7361, allocations: 330.9 kB / 0.8801 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006534/0.7367, allocations: 0.6142 MB / 0.8807 GB, free: 2.527 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003247/0.74, allocations: 2.164 MB / 0.8828 GB, free: 368 kB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.74, allocations: 0 / 0.8828 GB, free: 368 kB / 0.6387 GB Notification: Performance of FrontEnd: time 2.965e-06/0.74, allocations: 4 kB / 0.8828 GB, free: 364 kB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.579e-05/0.7401, allocations: 4 kB / 0.8829 GB, free: 360 kB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.003437/0.7435, allocations: 1.707 MB / 0.8845 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.7435, allocations: 17.09 kB / 0.8845 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002324/0.7459, allocations: 442.8 kB / 0.885 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/0.7476, allocations: 0.965 MB / 0.8859 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.411e-05/0.7477, allocations: 58 kB / 0.886 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.7478, allocations: 68 kB / 0.886 GB, free: 13 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002287/0.7501, allocations: 1.087 MB / 0.8871 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.7501, allocations: 4 kB / 0.8871 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.372e-05/0.7502, allocations: 28 kB / 0.8871 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.861e-05/0.7502, allocations: 34 kB / 0.8871 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003033/0.7533, allocations: 1.175 MB / 0.8883 GB, free: 10.65 MB / 0.6544 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.006153/0.7595, allocations: 4.123 MB / 0.8923 GB, free: 6.234 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002333/0.7618, allocations: 0.8319 MB / 0.8931 GB, free: 5.398 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001214/0.763, allocations: 0.4904 MB / 0.8936 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007707/0.7638, allocations: 0.6331 MB / 0.8942 GB, free: 4.145 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001465/0.7653, allocations: 0.5797 MB / 0.8948 GB, free: 3.543 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=57): time 2.585e-06/0.7653, allocations: 4 kB / 0.8948 GB, free: 3.539 MB / 0.6544 GB Notification: Performance of matching and sorting (n=57): time 0.003989/0.7693, allocations: 1.38 MB / 0.8961 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.7694, allocations: 85.67 kB / 0.8962 GB, free: 2.051 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.7704, allocations: 0.8395 MB / 0.897 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.835e-05/0.7705, allocations: 41.69 kB / 0.8971 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003236/0.7708, allocations: 428.9 kB / 0.8975 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/0.771, allocations: 202.2 kB / 0.8977 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002374/0.7712, allocations: 134.2 kB / 0.8978 GB, free: 392 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.7713, allocations: 326 kB / 0.8981 GB, free: 60 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001157/0.7725, allocations: 422.8 kB / 0.8985 GB, free: 15.64 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001255/0.7737, allocations: 0.5293 MB / 0.899 GB, free: 15.07 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002262/0.776, allocations: 0.8975 MB / 0.8999 GB, free: 14.14 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.776, allocations: 0 / 0.8999 GB, free: 14.14 MB / 0.67 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002733/0.7788, allocations: 1.07 MB / 0.901 GB, free: 13.05 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.706e-05/0.7788, allocations: 37.72 kB / 0.901 GB, free: 13.01 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.7788, allocations: 4 kB / 0.901 GB, free: 13.01 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.7789, allocations: 4 kB / 0.901 GB, free: 13 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.7802, allocations: 225.1 kB / 0.9012 GB, free: 12.79 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000648/0.7809, allocations: 1.193 MB / 0.9024 GB, free: 11.55 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009615/0.7818, allocations: 143.6 kB / 0.9025 GB, free: 11.41 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.678e-05/0.7819, allocations: 27.98 kB / 0.9026 GB, free: 11.38 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001411/0.7833, allocations: 0.6024 MB / 0.9031 GB, free: 10.77 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001244/0.7846, allocations: 0.537 MB / 0.9037 GB, free: 10.19 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002253/0.7869, allocations: 0.8858 MB / 0.9045 GB, free: 9.277 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.344e-06/0.7869, allocations: 0 / 0.9045 GB, free: 9.277 MB / 0.67 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.002745/0.7896, allocations: 1.062 MB / 0.9056 GB, free: 8.199 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.7897, allocations: 33.7 kB / 0.9056 GB, free: 8.16 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.7897, allocations: 4.156 kB / 0.9056 GB, free: 8.156 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.073e-06/0.7897, allocations: 4 kB / 0.9056 GB, free: 8.152 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009747/0.7907, allocations: 195.7 kB / 0.9058 GB, free: 7.961 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.7907, allocations: 8 kB / 0.9058 GB, free: 7.953 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009436/0.7916, allocations: 123.7 kB / 0.9059 GB, free: 7.832 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.729e-05/0.7917, allocations: 23.98 kB / 0.9059 GB, free: 7.809 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002418/0.792, allocations: 224.1 kB / 0.9062 GB, free: 7.582 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/0.7921, allocations: 107.3 kB / 0.9063 GB, free: 7.477 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002949/0.7951, allocations: 1.11 MB / 0.9073 GB, free: 6.363 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.7951, allocations: 3.984 kB / 0.9073 GB, free: 6.359 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.7951, allocations: 0 / 0.9073 GB, free: 6.359 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004338/0.7956, allocations: 284.2 kB / 0.9076 GB, free: 6.062 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/0.7957, allocations: 15.98 kB / 0.9076 GB, free: 6.047 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008968/0.7966, allocations: 103.8 kB / 0.9077 GB, free: 5.945 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.7967, allocations: 52.48 kB / 0.9078 GB, free: 5.895 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003267/0.8, allocations: 1.144 MB / 0.9089 GB, free: 4.734 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003994/0.804, allocations: 1.74 MB / 0.9106 GB, free: 2.977 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0012/0.8052, allocations: 476.2 kB / 0.9111 GB, free: 2.512 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007495/0.806, allocations: 0.5743 MB / 0.9116 GB, free: 1.926 MB / 0.67 GB Notification: Performance of Backend: time 1.643e-06/0.806, allocations: 0 / 0.9116 GB, free: 1.926 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004852/0.8109, allocations: 1.657 MB / 0.9132 GB, free: 252 kB / 0.67 GB Notification: Performance of SimCode: time 0.003219/0.8141, allocations: 2.184 MB / 0.9154 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of Templates: time 0.03898/0.8531, allocations: 26.43 MB / 0.9412 GB, free: 3.754 MB / 0.7012 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)