Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00156/0.00156, allocations: 108.5 kB / 16.41 MB, free: 6.473 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.001158/0.001158, allocations: 192.3 kB / 17.35 MB, free: 5.711 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.442/1.442, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8092/0.8092, allocations: 132.2 MB / 423.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 71.2 kB / 0.582 GB, free: 23.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1322, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.5403/0.6725, allocations: 199.9 MB / 0.8556 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01102/0.6836, allocations: 7.663 MB / 0.8631 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001589/0.6852, allocations: 40.84 kB / 0.8631 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001962/0.6872, allocations: 0.7049 MB / 0.8638 GB, free: 4.52 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005569/0.6928, allocations: 2.072 MB / 0.8658 GB, free: 2.91 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003059/0.6958, allocations: 1.181 MB / 0.867 GB, free: 2.035 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004117/0.7, allocations: 2.679 MB / 0.8696 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00144/0.7014, allocations: 0.9879 MB / 0.8706 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003818/0.7053, allocations: 1.613 MB / 0.8721 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001342/0.7066, allocations: 0.8292 MB / 0.8729 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001672/0.7068, allocations: 107.9 kB / 0.8731 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003352/0.7102, allocations: 1.836 MB / 0.8748 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003381/0.7105, allocations: 326.9 kB / 0.8752 GB, free: 9.863 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006948/0.7112, allocations: 0.6142 MB / 0.8758 GB, free: 9.246 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003322/0.7146, allocations: 2.172 MB / 0.8779 GB, free: 7.07 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.7146, allocations: 4 kB / 0.8779 GB, free: 7.066 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7146, allocations: 0 / 0.8779 GB, free: 7.066 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.315e-05/0.7146, allocations: 0 / 0.8779 GB, free: 7.066 MB / 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.003523/0.7181, allocations: 1.71 MB / 0.8796 GB, free: 5.293 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.7182, allocations: 8.031 kB / 0.8796 GB, free: 5.285 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002341/0.7205, allocations: 438.8 kB / 0.88 GB, free: 4.855 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001738/0.7223, allocations: 0.9767 MB / 0.8809 GB, free: 3.836 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.417e-05/0.7224, allocations: 58 kB / 0.881 GB, free: 3.781 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.7225, allocations: 68 kB / 0.8811 GB, free: 3.715 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002235/0.7247, allocations: 1.083 MB / 0.8821 GB, free: 2.609 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.7248, allocations: 7.922 kB / 0.8821 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.974e-05/0.7248, allocations: 28 kB / 0.8821 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.595e-05/0.7249, allocations: 33.98 kB / 0.8822 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002964/0.7279, allocations: 1.171 MB / 0.8833 GB, free: 1.367 MB / 0.6387 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.006028/0.7339, allocations: 4.123 MB / 0.8873 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002296/0.7362, allocations: 0.8301 MB / 0.8882 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001184/0.7374, allocations: 498.1 kB / 0.8886 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007982/0.7382, allocations: 0.637 MB / 0.8893 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00144/0.7397, allocations: 0.5797 MB / 0.8898 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=57): time 3.216e-06/0.7397, allocations: 4 kB / 0.8898 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=57): time 0.00405/0.7438, allocations: 1.384 MB / 0.8912 GB, free: 8.867 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.7438, allocations: 89.61 kB / 0.8913 GB, free: 8.762 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.7449, allocations: 0.8356 MB / 0.8921 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.53e-05/0.7449, allocations: 37.7 kB / 0.8921 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003327/0.7453, allocations: 432.9 kB / 0.8925 GB, free: 7.434 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/0.7455, allocations: 206.2 kB / 0.8927 GB, free: 7.23 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000242/0.7457, allocations: 130.1 kB / 0.8928 GB, free: 7.098 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.7458, allocations: 326 kB / 0.8932 GB, free: 6.773 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001147/0.747, allocations: 422.8 kB / 0.8936 GB, free: 6.355 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001256/0.7483, allocations: 0.5331 MB / 0.8941 GB, free: 5.781 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002364/0.7506, allocations: 0.8859 MB / 0.8949 GB, free: 4.867 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.7507, allocations: 0 / 0.8949 GB, free: 4.867 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002846/0.7535, allocations: 1.07 MB / 0.896 GB, free: 3.781 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.876e-05/0.7536, allocations: 33.7 kB / 0.896 GB, free: 3.742 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.7536, allocations: 0 / 0.896 GB, free: 3.742 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.7536, allocations: 4 kB / 0.896 GB, free: 3.738 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.755, allocations: 229.4 kB / 0.8962 GB, free: 3.516 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006439/0.7556, allocations: 1.191 MB / 0.8974 GB, free: 2.277 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009932/0.7566, allocations: 143.6 kB / 0.8975 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.842e-05/0.7567, allocations: 31.97 kB / 0.8976 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001508/0.7582, allocations: 0.6072 MB / 0.8982 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001303/0.7596, allocations: 0.5292 MB / 0.8987 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002276/0.7619, allocations: 0.8819 MB / 0.8995 GB, free: 12 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.585e-06/0.7619, allocations: 0 / 0.8995 GB, free: 12 kB / 0.6544 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.002866/0.7647, allocations: 1.071 MB / 0.9006 GB, free: 14.93 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.947e-05/0.7648, allocations: 33.64 kB / 0.9006 GB, free: 14.89 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.7648, allocations: 4 kB / 0.9006 GB, free: 14.88 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.735e-06/0.7648, allocations: 7.984 kB / 0.9006 GB, free: 14.88 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.7659, allocations: 191.9 kB / 0.9008 GB, free: 14.69 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.7659, allocations: 7.938 kB / 0.9008 GB, free: 14.68 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009902/0.7669, allocations: 119.7 kB / 0.9009 GB, free: 14.56 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.228e-05/0.767, allocations: 36.06 kB / 0.901 GB, free: 14.53 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.0002658/0.7673, allocations: 224.1 kB / 0.9012 GB, free: 14.3 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.7675, allocations: 103.3 kB / 0.9013 GB, free: 14.2 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003044/0.7705, allocations: 1.105 MB / 0.9024 GB, free: 13.09 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.7705, allocations: 3.984 kB / 0.9024 GB, free: 13.09 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.7705, allocations: 4 kB / 0.9024 GB, free: 13.09 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003949/0.7709, allocations: 284.2 kB / 0.9026 GB, free: 12.79 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/0.7711, allocations: 12 kB / 0.9027 GB, free: 12.78 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009745/0.7721, allocations: 107.8 kB / 0.9028 GB, free: 12.67 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.7722, allocations: 44.5 kB / 0.9028 GB, free: 12.63 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003425/0.7756, allocations: 1.156 MB / 0.9039 GB, free: 11.46 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004114/0.7798, allocations: 1.744 MB / 0.9056 GB, free: 9.695 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001239/0.781, allocations: 464.2 kB / 0.9061 GB, free: 9.246 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000825/0.7819, allocations: 0.5821 MB / 0.9066 GB, free: 8.652 MB / 0.67 GB Notification: Performance of Backend: time 4.11e-07/0.7819, allocations: 0 / 0.9066 GB, free: 8.652 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005047/0.7869, allocations: 1.651 MB / 0.9083 GB, free: 6.98 MB / 0.67 GB Notification: Performance of SimCode: time 0.003396/0.7903, allocations: 2.181 MB / 0.9104 GB, free: 4.762 MB / 0.67 GB Notification: Performance of Templates: time 0.04037/0.8307, allocations: 26.43 MB / 0.9362 GB, free: 10.52 MB / 0.7012 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)