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.0009328/0.000933, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006355/0.006355, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.385/1.385, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.975/0.975, allocations: 135.3 MB / 426.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003662, allocations: 8 kB / 0.5076 GB, free: 4.715 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1669, allocations: 82.3 MB / 0.588 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.5111/0.6781, allocations: 195 MB / 0.7784 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0116/0.6897, allocations: 7.644 MB / 0.7859 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001849/0.6916, allocations: 39.69 kB / 0.7859 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002145/0.6938, allocations: 0.5634 MB / 0.7864 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005873/0.6997, allocations: 1.836 MB / 0.7882 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003234/0.7029, allocations: 1.054 MB / 0.7893 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004907/0.7079, allocations: 3.476 MB / 0.7927 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001662/0.7096, allocations: 0.8153 MB / 0.7935 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003722/0.7133, allocations: 1.369 MB / 0.7948 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002412/0.7158, allocations: 0.7877 MB / 0.7956 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002385/0.716, allocations: 47.94 kB / 0.7956 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003949/0.72, allocations: 1.972 MB / 0.7975 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004447/0.7205, allocations: 262.9 kB / 0.7978 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009344/0.7214, allocations: 0.5611 MB / 0.7983 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003582/0.725, allocations: 2.122 MB / 0.8004 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.7251, allocations: 0 / 0.8004 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.334e-06/0.7251, allocations: 0 / 0.8004 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.416e-05/0.7251, allocations: 0 / 0.8004 GB, free: 2.762 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.003745/0.7288, allocations: 1.466 MB / 0.8018 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.7289, allocations: 8.031 kB / 0.8018 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002643/0.7316, allocations: 478.1 kB / 0.8023 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001898/0.7335, allocations: 0.9174 MB / 0.8032 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007074/0.7342, allocations: 189.9 kB / 0.8034 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.7344, allocations: 76 kB / 0.8035 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002666/0.7371, allocations: 1.118 MB / 0.8045 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.7371, allocations: 3.938 kB / 0.8045 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.813e-05/0.7372, allocations: 35.98 kB / 0.8046 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.478e-05/0.7373, allocations: 30 kB / 0.8046 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003561/0.7409, allocations: 1.273 MB / 0.8059 GB, free: 13.06 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.007404/0.7483, allocations: 4.164 MB / 0.8099 GB, free: 8.609 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002894/0.7512, allocations: 0.9325 MB / 0.8108 GB, free: 7.668 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001505/0.7528, allocations: 0.5373 MB / 0.8114 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009161/0.7537, allocations: 0.6487 MB / 0.812 GB, free: 6.352 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001775/0.7555, allocations: 0.6382 MB / 0.8126 GB, free: 5.699 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=57): time 3.957e-06/0.7555, allocations: 0 / 0.8126 GB, free: 5.699 MB / 0.6231 GB Notification: Performance of matching and sorting (n=57): time 0.004879/0.7604, allocations: 1.524 MB / 0.8141 GB, free: 4.164 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.747e-05/0.7605, allocations: 85.67 kB / 0.8142 GB, free: 4.062 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.7618, allocations: 0.8355 MB / 0.815 GB, free: 3.203 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001245/0.762, allocations: 45.7 kB / 0.815 GB, free: 3.152 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003745/0.7624, allocations: 432.4 kB / 0.8155 GB, free: 2.727 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002036/0.7626, allocations: 193.1 kB / 0.8156 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.7627, allocations: 53.69 kB / 0.8157 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.7628, allocations: 322 kB / 0.816 GB, free: 2.156 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/0.7642, allocations: 464.8 kB / 0.8164 GB, free: 1.703 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/0.7658, allocations: 0.58 MB / 0.817 GB, free: 1.078 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0028/0.7686, allocations: 0.9875 MB / 0.818 GB, free: 64 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.7686, allocations: 3.938 kB / 0.818 GB, free: 60 kB / 0.6231 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003451/0.7721, allocations: 1.163 MB / 0.8191 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001261/0.7722, allocations: 175.1 kB / 0.8193 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.7723, allocations: 3.938 kB / 0.8193 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.7723, allocations: 4 kB / 0.8193 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/0.7738, allocations: 251.7 kB / 0.8195 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007252/0.7746, allocations: 1.199 MB / 0.8207 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.7759, allocations: 191.3 kB / 0.8209 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.7761, allocations: 31.97 kB / 0.8209 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.7761, allocations: 4 kB / 0.8209 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003223/0.7793, allocations: 1.061 MB / 0.8219 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.7794, allocations: 0 / 0.8219 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.7794, allocations: 4 kB / 0.822 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.7805, allocations: 227.8 kB / 0.8222 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.7806, allocations: 4 kB / 0.8222 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/0.7819, allocations: 187.2 kB / 0.8224 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.7821, allocations: 29.62 kB / 0.8224 GB, free: 11.44 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.0006564/0.7827, allocations: 348.4 kB / 0.8227 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002858/0.783, allocations: 94.88 kB / 0.8228 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00358/0.7866, allocations: 1.208 MB / 0.824 GB, free: 9.797 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.7867, allocations: 4 kB / 0.824 GB, free: 9.793 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.7867, allocations: 0 / 0.824 GB, free: 9.793 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.7867, allocations: 3.984 kB / 0.824 GB, free: 9.789 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005515/0.7922, allocations: 2.4 MB / 0.8263 GB, free: 7.301 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.7923, allocations: 11.92 kB / 0.8263 GB, free: 7.289 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/0.7934, allocations: 228.7 kB / 0.8266 GB, free: 7.066 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.431e-05/0.7935, allocations: 4 kB / 0.8266 GB, free: 7.062 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.41e-05/0.7935, allocations: 19.98 kB / 0.8266 GB, free: 7.043 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006651/0.7942, allocations: 1.191 MB / 0.8277 GB, free: 5.805 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.7942, allocations: 8 kB / 0.8278 GB, free: 5.797 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003372/0.7976, allocations: 1.29 MB / 0.829 GB, free: 4.457 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006395/0.7983, allocations: 291.7 kB / 0.8293 GB, free: 4.152 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002373/0.7985, allocations: 12 kB / 0.8293 GB, free: 4.141 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00135/0.7999, allocations: 171.6 kB / 0.8295 GB, free: 3.973 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/0.8, allocations: 60.31 kB / 0.8295 GB, free: 3.91 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.663e-05/0.8001, allocations: 31.97 kB / 0.8296 GB, free: 3.879 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008857/0.801, allocations: 0.582 MB / 0.8301 GB, free: 3.285 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.61e-07/0.801, allocations: 0 / 0.8301 GB, free: 3.285 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001528/0.8026, allocations: 479.2 kB / 0.8306 GB, free: 2.816 MB / 0.6387 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.0007046/0.8033, allocations: 293.3 kB / 0.8309 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005205/0.8085, allocations: 1.746 MB / 0.8326 GB, free: 0.7656 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.8085, allocations: 3.938 kB / 0.8326 GB, free: 0.7617 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001772/0.8103, allocations: 0.6081 MB / 0.8332 GB, free: 152 kB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003578/0.8139, allocations: 465.1 kB / 0.8336 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005972/0.8199, allocations: 2.301 MB / 0.8359 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008414/0.8208, allocations: 1.043 MB / 0.8369 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001519/0.8223, allocations: 291.1 kB / 0.8372 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003211/0.8226, allocations: 83.41 kB / 0.8372 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of SimCode: time 8.32e-07/0.8226, allocations: 0 / 0.8372 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of Templates: time 0.03263/0.8553, allocations: 18.66 MB / 0.8555 GB, free: 9.488 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)