Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.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.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 105.1 kB / 16.35 MB, free: 5.824 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.001314/0.001314, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7871/0.7871, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 63.89 kB / 0.5067 GB, free: 7.664 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3715, allocations: 80.9 MB / 0.5857 GB, free: 25.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.5879/0.9595, allocations: 214.2 MB / 0.7949 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009508/0.969, allocations: 7.04 MB / 0.8018 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002301/0.9714, allocations: 42.88 kB / 0.8018 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002061/0.9735, allocations: 0.7857 MB / 0.8026 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006274/0.9798, allocations: 2.508 MB / 0.805 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002738/0.9826, allocations: 1.171 MB / 0.8062 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003471/0.9861, allocations: 2.823 MB / 0.8089 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001335/0.9874, allocations: 1.09 MB / 0.81 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004094/0.9915, allocations: 1.991 MB / 0.8119 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002101/0.9936, allocations: 0.935 MB / 0.8129 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002051/0.9939, allocations: 119.5 kB / 0.813 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004769/0.9986, allocations: 2.447 MB / 0.8154 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005853/0.9992, allocations: 422.1 kB / 0.8158 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001013/1, allocations: 0.6895 MB / 0.8164 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004738/1.005, allocations: 2.496 MB / 0.8189 GB, free: 300 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/1.005, allocations: 0.9375 kB / 0.8189 GB, free: 300 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.834e-06/1.005, allocations: 0 / 0.8189 GB, free: 300 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.952e-05/1.005, allocations: 0 / 0.8189 GB, free: 300 kB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.004538/1.01, allocations: 1.847 MB / 0.8207 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/1.01, allocations: 12.23 kB / 0.8207 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003016/1.013, allocations: 0.5384 MB / 0.8212 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001875/1.015, allocations: 1.003 MB / 0.8222 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.302e-05/1.015, allocations: 62.88 kB / 0.8223 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/1.015, allocations: 88.92 kB / 0.8223 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002491/1.017, allocations: 1.233 MB / 0.8235 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/1.017, allocations: 0 / 0.8235 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.672e-05/1.017, allocations: 33.94 kB / 0.8236 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.007e-05/1.018, allocations: 43.06 kB / 0.8236 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003225/1.021, allocations: 1.526 MB / 0.8251 GB, free: 14.87 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.006543/1.027, allocations: 4.041 MB / 0.8291 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002323/1.03, allocations: 0.9758 MB / 0.83 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001342/1.031, allocations: 0.6532 MB / 0.8307 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001034/1.032, allocations: 0.6071 MB / 0.8312 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/1.032, allocations: 43.94 kB / 0.8313 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.465e-06/1.032, allocations: 0 / 0.8313 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.004832/1.037, allocations: 1.787 MB / 0.833 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/1.037, allocations: 64.06 kB / 0.8331 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/1.038, allocations: 0.815 MB / 0.8339 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.95e-05/1.038, allocations: 43.02 kB / 0.8339 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003392/1.039, allocations: 444.2 kB / 0.8344 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/1.039, allocations: 261.1 kB / 0.8346 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002753/1.039, allocations: 163 kB / 0.8348 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001091/1.039, allocations: 327.5 kB / 0.8351 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/1.041, allocations: 0.5344 MB / 0.8356 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/1.042, allocations: 0.6581 MB / 0.8362 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002496/1.044, allocations: 1.13 MB / 0.8373 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/1.044, allocations: 3.938 kB / 0.8373 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003067/1.048, allocations: 1.342 MB / 0.8387 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.324e-05/1.048, allocations: 39.23 kB / 0.8387 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/1.048, allocations: 7.156 kB / 0.8387 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/1.048, allocations: 2.906 kB / 0.8387 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/1.049, allocations: 257.9 kB / 0.8389 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006726/1.05, allocations: 1.191 MB / 0.8401 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/1.051, allocations: 143.4 kB / 0.8402 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-05/1.051, allocations: 31.98 kB / 0.8403 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001658/1.053, allocations: 0.7633 MB / 0.841 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001361/1.054, allocations: 0.6512 MB / 0.8417 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002461/1.057, allocations: 1.127 MB / 0.8428 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.235e-06/1.057, allocations: 0 / 0.8428 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.00305/1.06, allocations: 1.332 MB / 0.8441 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/1.06, allocations: 37.69 kB / 0.8441 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/1.06, allocations: 3.938 kB / 0.8441 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.873e-06/1.06, allocations: 4 kB / 0.8441 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/1.061, allocations: 237.2 kB / 0.8443 GB, free: 288 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/1.061, allocations: 7.984 kB / 0.8443 GB, free: 280 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/1.062, allocations: 132.3 kB / 0.8445 GB, free: 148 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.122e-05/1.062, allocations: 31.98 kB / 0.8445 GB, free: 116 kB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i2_w,hex.i1_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * 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.0002872/1.062, allocations: 229.7 kB / 0.8447 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/1.062, allocations: 102.8 kB / 0.8448 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003306/1.066, allocations: 1.347 MB / 0.8461 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/1.066, allocations: 4 kB / 0.8461 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/1.066, allocations: 4 kB / 0.8461 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/1.066, allocations: 3.984 kB / 0.8461 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005268/1.071, allocations: 2.836 MB / 0.8489 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/1.071, allocations: 4 kB / 0.8489 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001157/1.072, allocations: 232.8 kB / 0.8491 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/1.072, allocations: 7.938 kB / 0.8491 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.687e-05/1.072, allocations: 31.98 kB / 0.8492 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005989/1.073, allocations: 1.186 MB / 0.8503 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/1.073, allocations: 7.938 kB / 0.8503 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003386/1.076, allocations: 1.45 MB / 0.8517 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005893/1.077, allocations: 311.4 kB / 0.852 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/1.077, allocations: 20 kB / 0.8521 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/1.078, allocations: 103.9 kB / 0.8522 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/1.078, allocations: 63.62 kB / 0.8522 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.972e-05/1.078, allocations: 39.91 kB / 0.8523 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000788/1.079, allocations: 0.57 MB / 0.8528 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/1.079, allocations: 3.938 kB / 0.8528 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001396/1.081, allocations: 0.5341 MB / 0.8533 GB, free: 6.871 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0006164/1.081, allocations: 270.5 kB / 0.8536 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004893/1.086, allocations: 2.019 MB / 0.8556 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/1.086, allocations: 0 / 0.8556 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001544/1.088, allocations: 0.662 MB / 0.8562 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/1.09, allocations: 0.498 MB / 0.8567 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003677/1.093, allocations: 2.072 MB / 0.8587 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006156/1.094, allocations: 1.091 MB / 0.8598 GB, free: 240 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001258/1.095, allocations: 391.6 kB / 0.8602 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003057/1.096, allocations: 94.53 kB / 0.8603 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of SimCode: time 1.714e-06/1.096, allocations: 0 / 0.8603 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of Templates: time 0.03019/1.126, allocations: 20.82 MB / 0.8806 GB, free: 11.29 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)