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.001383/0.001383, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001435/0.001435, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.349/1.349, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9011/0.9011, allocations: 135.6 MB / 425.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 73 kB / 0.5054 GB, free: 5.168 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1658, allocations: 81.02 MB / 0.5845 GB, free: 4.289 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.4525/0.6183, allocations: 197.4 MB / 0.7772 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01162/0.63, allocations: 7.62 MB / 0.7847 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001301/0.6313, allocations: 35.75 kB / 0.7847 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001621/0.633, allocations: 0.5946 MB / 0.7853 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004824/0.6378, allocations: 1.844 MB / 0.7871 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002811/0.6406, allocations: 1.061 MB / 0.7881 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004064/0.6447, allocations: 2.692 MB / 0.7908 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001576/0.6463, allocations: 0.9732 MB / 0.7917 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003998/0.6503, allocations: 1.563 MB / 0.7932 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001599/0.6519, allocations: 0.8665 MB / 0.7941 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001748/0.6521, allocations: 100 kB / 0.7942 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003453/0.6556, allocations: 1.898 MB / 0.796 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004005/0.656, allocations: 334.9 kB / 0.7964 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007829/0.6568, allocations: 0.6142 MB / 0.797 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00332/0.6601, allocations: 2.209 MB / 0.7991 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.6601, allocations: 0 / 0.7991 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.482e-06/0.6601, allocations: 0 / 0.7991 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.6601, allocations: 0 / 0.7991 GB, free: 0.5664 MB / 0.6075 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.00361/0.6638, allocations: 1.676 MB / 0.8008 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.6638, allocations: 8.031 kB / 0.8008 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002323/0.6661, allocations: 434.1 kB / 0.8012 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001679/0.6678, allocations: 0.9135 MB / 0.8021 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006109/0.6684, allocations: 169.9 kB / 0.8022 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.6686, allocations: 68 kB / 0.8023 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002398/0.671, allocations: 1.102 MB / 0.8034 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.671, allocations: 4 kB / 0.8034 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-05/0.6711, allocations: 27.94 kB / 0.8034 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-05/0.6712, allocations: 34 kB / 0.8034 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00312/0.6743, allocations: 1.191 MB / 0.8046 GB, free: 10.83 MB / 0.6231 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.006519/0.6808, allocations: 4.128 MB / 0.8086 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002471/0.6833, allocations: 0.8587 MB / 0.8095 GB, free: 5.551 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/0.6846, allocations: 0.4904 MB / 0.8099 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008326/0.6854, allocations: 0.637 MB / 0.8106 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00152/0.687, allocations: 0.5952 MB / 0.8111 GB, free: 3.68 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=57): time 2.174e-06/0.687, allocations: 0 / 0.8111 GB, free: 3.68 MB / 0.6231 GB Notification: Performance of matching and sorting (n=57): time 0.004178/0.6912, allocations: 1.403 MB / 0.8125 GB, free: 2.273 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/0.6912, allocations: 85.67 kB / 0.8126 GB, free: 2.172 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/0.6923, allocations: 0.8395 MB / 0.8134 GB, free: 1.309 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.065e-05/0.6924, allocations: 41.69 kB / 0.8135 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003674/0.6928, allocations: 424.3 kB / 0.8139 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/0.693, allocations: 193.2 kB / 0.8141 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002439/0.6932, allocations: 130.1 kB / 0.8142 GB, free: 0.5195 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.6934, allocations: 330 kB / 0.8145 GB, free: 196 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.6946, allocations: 426.8 kB / 0.8149 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001317/0.6959, allocations: 0.5447 MB / 0.8154 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002329/0.6983, allocations: 0.9054 MB / 0.8163 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.6983, allocations: 0 / 0.8163 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002796/0.7011, allocations: 1.077 MB / 0.8174 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.969e-05/0.7011, allocations: 43.09 kB / 0.8174 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.7011, allocations: 0 / 0.8174 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.7012, allocations: 4 kB / 0.8174 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/0.7025, allocations: 233.2 kB / 0.8176 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007749/0.7033, allocations: 1.196 MB / 0.8188 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/0.7044, allocations: 171.3 kB / 0.819 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.316e-05/0.7044, allocations: 27.98 kB / 0.819 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001445/0.7059, allocations: 0.6141 MB / 0.8196 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001288/0.7072, allocations: 0.5486 MB / 0.8201 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002344/0.7095, allocations: 0.8977 MB / 0.821 GB, free: 9.301 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.208e-06/0.7096, allocations: 2.5 kB / 0.821 GB, free: 9.301 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.002738/0.7123, allocations: 1.081 MB / 0.8221 GB, free: 8.207 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.275e-05/0.7123, allocations: 33.7 kB / 0.8221 GB, free: 8.168 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-06/0.7124, allocations: 0 / 0.8221 GB, free: 8.168 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.7124, allocations: 8.938 kB / 0.8221 GB, free: 8.16 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009823/0.7134, allocations: 203.8 kB / 0.8223 GB, free: 7.961 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.7134, allocations: 7.984 kB / 0.8223 GB, free: 7.953 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.7144, allocations: 155.5 kB / 0.8225 GB, free: 7.801 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.859e-05/0.7145, allocations: 27.98 kB / 0.8225 GB, free: 7.773 MB / 0.6387 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.0002525/0.7147, allocations: 220 kB / 0.8227 GB, free: 7.555 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.7149, allocations: 102.8 kB / 0.8228 GB, free: 7.453 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00305/0.718, allocations: 1.127 MB / 0.8239 GB, free: 6.324 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.718, allocations: 8 kB / 0.8239 GB, free: 6.316 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.718, allocations: 0 / 0.8239 GB, free: 6.316 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.718, allocations: 3.984 kB / 0.8239 GB, free: 6.312 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004534/0.7226, allocations: 2.33 MB / 0.8262 GB, free: 3.895 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.7226, allocations: 0 / 0.8262 GB, free: 3.895 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.7236, allocations: 197.8 kB / 0.8264 GB, free: 3.703 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/0.7236, allocations: 15.92 kB / 0.8264 GB, free: 3.688 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.988e-05/0.7237, allocations: 19.98 kB / 0.8264 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006446/0.7243, allocations: 1.195 MB / 0.8276 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.7243, allocations: 4 kB / 0.8276 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002816/0.7272, allocations: 1.216 MB / 0.8288 GB, free: 1.156 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004079/0.7276, allocations: 287.6 kB / 0.829 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/0.7277, allocations: 15.94 kB / 0.829 GB, free: 0.8398 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.7288, allocations: 135.8 kB / 0.8292 GB, free: 0.707 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.7289, allocations: 52.36 kB / 0.8292 GB, free: 0.6523 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-05/0.729, allocations: 35.92 kB / 0.8293 GB, free: 0.6172 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007152/0.7297, allocations: 0.5782 MB / 0.8298 GB, free: 28 kB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7298, allocations: 0 / 0.8298 GB, free: 28 kB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001209/0.731, allocations: 495 kB / 0.8303 GB, free: 15.54 MB / 0.6544 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.0006172/0.7316, allocations: 281.6 kB / 0.8306 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004708/0.7363, allocations: 1.685 MB / 0.8322 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.7363, allocations: 4 kB / 0.8322 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001565/0.7379, allocations: 0.5651 MB / 0.8328 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001929/0.7398, allocations: 441 kB / 0.8332 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004195/0.744, allocations: 2.267 MB / 0.8354 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006647/0.7447, allocations: 1.039 MB / 0.8364 GB, free: 9.18 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001171/0.7459, allocations: 281.6 kB / 0.8367 GB, free: 8.91 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002735/0.7462, allocations: 87.41 kB / 0.8368 GB, free: 8.824 MB / 0.6544 GB Notification: Performance of SimCode: time 5.61e-07/0.7462, allocations: 0 / 0.8368 GB, free: 8.824 MB / 0.6544 GB Notification: Performance of Templates: time 0.0311/0.7773, allocations: 19.2 MB / 0.8555 GB, free: 5.891 MB / 0.67 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)