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.001127/0.001127, allocations: 108.4 kB / 16.37 MB, free: 6.012 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.00115/0.00115, allocations: 194.6 kB / 17.31 MB, free: 5.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.273/1.273, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8129/0.8129, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 63.91 kB / 0.5068 GB, free: 7.664 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3357, allocations: 80.91 MB / 0.5858 GB, free: 25.49 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.5066/0.8423, allocations: 199.9 MB / 0.781 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00969/0.852, allocations: 7.667 MB / 0.7885 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001465/0.8535, allocations: 42.88 kB / 0.7885 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00147/0.855, allocations: 0.6859 MB / 0.7892 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003995/0.859, allocations: 1.982 MB / 0.7911 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002437/0.8615, allocations: 1.171 MB / 0.7923 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002855/0.8643, allocations: 2.681 MB / 0.7949 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.8655, allocations: 0.9874 MB / 0.7959 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003292/0.8688, allocations: 1.563 MB / 0.7974 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001318/0.8701, allocations: 0.8208 MB / 0.7982 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001641/0.8703, allocations: 104.1 kB / 0.7983 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003065/0.8734, allocations: 1.839 MB / 0.8001 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000313/0.8737, allocations: 338.5 kB / 0.8004 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006256/0.8743, allocations: 0.6135 MB / 0.801 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002886/0.8772, allocations: 2.156 MB / 0.8031 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.8772, allocations: 0.9062 kB / 0.8031 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8773, allocations: 2.469 kB / 0.8031 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.304e-05/0.8773, allocations: 0.8438 kB / 0.8031 GB, free: 0.8359 MB / 0.5762 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.003279/0.8806, allocations: 1.669 MB / 0.8048 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.8806, allocations: 7.953 kB / 0.8048 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002096/0.8827, allocations: 435.3 kB / 0.8052 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/0.8844, allocations: 0.9508 MB / 0.8061 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.676e-05/0.8844, allocations: 54.72 kB / 0.8062 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.8846, allocations: 82.31 kB / 0.8062 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002221/0.8868, allocations: 1.077 MB / 0.8073 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.8868, allocations: 0 / 0.8073 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.824e-05/0.8869, allocations: 30.25 kB / 0.8073 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.38e-05/0.887, allocations: 32.98 kB / 0.8074 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002691/0.8897, allocations: 1.177 MB / 0.8085 GB, free: 15.45 MB / 0.5919 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.006411/0.8961, allocations: 4.104 MB / 0.8125 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002493/0.8986, allocations: 0.8354 MB / 0.8133 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/0.8998, allocations: 496.3 kB / 0.8138 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008222/0.9006, allocations: 0.6339 MB / 0.8144 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00138/0.902, allocations: 0.5855 MB / 0.815 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=57): time 2.314e-06/0.9021, allocations: 3.031 kB / 0.815 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of matching and sorting (n=57): time 0.003712/0.9058, allocations: 1.383 MB / 0.8163 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.474e-05/0.9059, allocations: 86.39 kB / 0.8164 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009911/0.9069, allocations: 0.8312 MB / 0.8172 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.907, allocations: 38.67 kB / 0.8173 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003088/0.9073, allocations: 431.1 kB / 0.8177 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.9075, allocations: 192.5 kB / 0.8179 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/0.9077, allocations: 132.2 kB / 0.818 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.9078, allocations: 334.5 kB / 0.8183 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.9089, allocations: 420 kB / 0.8187 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/0.91, allocations: 0.5316 MB / 0.8192 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002032/0.9121, allocations: 0.8867 MB / 0.8201 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.9121, allocations: 0 / 0.8201 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002623/0.9147, allocations: 1.072 MB / 0.8211 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.293e-05/0.9148, allocations: 39.14 kB / 0.8212 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.9148, allocations: 0 / 0.8212 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.9148, allocations: 4.719 kB / 0.8212 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.9161, allocations: 229.9 kB / 0.8214 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006255/0.9167, allocations: 1.192 MB / 0.8226 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.9178, allocations: 134.4 kB / 0.8227 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.322e-05/0.9179, allocations: 37.11 kB / 0.8227 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001442/0.9193, allocations: 0.6039 MB / 0.8233 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001173/0.9205, allocations: 0.5295 MB / 0.8238 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002085/0.9226, allocations: 0.8789 MB / 0.8247 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.266e-06/0.9226, allocations: 0 / 0.8247 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.002611/0.9252, allocations: 1.061 MB / 0.8257 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/0.9253, allocations: 35.25 kB / 0.8258 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.9253, allocations: 3.031 kB / 0.8258 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/0.9253, allocations: 5.5 kB / 0.8258 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009539/0.9263, allocations: 198.6 kB / 0.826 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.9263, allocations: 9.531 kB / 0.826 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.9273, allocations: 127.5 kB / 0.8261 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.31e-05/0.9274, allocations: 33.36 kB / 0.8261 GB, free: 8.445 MB / 0.5919 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.000266/0.9276, allocations: 212.1 kB / 0.8263 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/0.9278, allocations: 100.5 kB / 0.8264 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002801/0.9306, allocations: 1.109 MB / 0.8275 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.9307, allocations: 10.44 kB / 0.8275 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.9307, allocations: 9.5 kB / 0.8275 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.9307, allocations: 3.984 kB / 0.8275 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004299/0.935, allocations: 2.306 MB / 0.8298 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.935, allocations: 0 / 0.8298 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009518/0.936, allocations: 203.6 kB / 0.83 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.677e-05/0.936, allocations: 4.844 kB / 0.83 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-05/0.9361, allocations: 21.48 kB / 0.83 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005882/0.9367, allocations: 1.185 MB / 0.8312 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.9367, allocations: 3.094 kB / 0.8312 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002662/0.9394, allocations: 1.201 MB / 0.8323 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005345/0.9399, allocations: 289.5 kB / 0.8326 GB, free: 3.848 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.94, allocations: 16.69 kB / 0.8326 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009316/0.941, allocations: 101.6 kB / 0.8327 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.9411, allocations: 58.06 kB / 0.8328 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-05/0.9412, allocations: 34.16 kB / 0.8328 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007256/0.9419, allocations: 0.585 MB / 0.8334 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.942, allocations: 0 / 0.8334 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001216/0.9432, allocations: 485 kB / 0.8338 GB, free: 3.055 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 Backend phase and start with SimCode phase: time 0.0005702/0.9438, allocations: 294.1 kB / 0.8341 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0042/0.948, allocations: 1.614 MB / 0.8357 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.948, allocations: 0 / 0.8357 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001479/0.9495, allocations: 0.5534 MB / 0.8362 GB, free: 0.6328 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/0.9515, allocations: 437.8 kB / 0.8367 GB, free: 224 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003871/0.9554, allocations: 1.85 MB / 0.8385 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006347/0.956, allocations: 1.046 MB / 0.8395 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001207/0.9572, allocations: 277.9 kB / 0.8398 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002733/0.9575, allocations: 91.34 kB / 0.8398 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of SimCode: time 1.022e-06/0.9575, allocations: 0 / 0.8398 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of Templates: time 0.03101/0.9885, allocations: 19.46 MB / 0.8588 GB, free: 9.719 MB / 0.6231 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)