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.001077/0.001077, allocations: 113.3 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.001095/0.001095, allocations: 193.8 kB / 17.3 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.265/1.265, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7655/0.7655, allocations: 135.1 MB / 426.3 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.91 kB / 0.5068 GB, free: 7.672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.36, allocations: 80.9 MB / 0.5858 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.5278/0.8879, allocations: 214.2 MB / 0.7949 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009051/0.897, allocations: 7.032 MB / 0.8018 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001528/0.8985, allocations: 41.94 kB / 0.8018 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001733/0.9003, allocations: 0.7876 MB / 0.8026 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005232/0.9056, allocations: 2.513 MB / 0.805 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002626/0.9082, allocations: 1.174 MB / 0.8062 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003129/0.9114, allocations: 2.826 MB / 0.809 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001682/0.913, allocations: 1.087 MB / 0.81 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004315/0.9174, allocations: 1.99 MB / 0.812 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002157/0.9195, allocations: 0.9308 MB / 0.8129 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003894/0.9199, allocations: 118.1 kB / 0.813 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004901/0.9249, allocations: 2.448 MB / 0.8154 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006601/0.9255, allocations: 430.5 kB / 0.8158 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00134/0.9269, allocations: 0.6855 MB / 0.8165 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004896/0.9318, allocations: 2.499 MB / 0.8189 GB, free: 244 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.9318, allocations: 3.406 kB / 0.8189 GB, free: 244 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.934e-06/0.9318, allocations: 0 / 0.8189 GB, free: 244 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.023e-05/0.9319, allocations: 0.8125 kB / 0.8189 GB, free: 244 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.005171/0.9371, allocations: 1.841 MB / 0.8207 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.9371, allocations: 12.05 kB / 0.8207 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002989/0.9401, allocations: 0.5385 MB / 0.8212 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00184/0.942, allocations: 1.001 MB / 0.8222 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.717e-05/0.942, allocations: 70.03 kB / 0.8223 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.9422, allocations: 82.78 kB / 0.8224 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002433/0.9446, allocations: 1.221 MB / 0.8235 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.9447, allocations: 2.875 kB / 0.8236 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.56e-05/0.9448, allocations: 31.73 kB / 0.8236 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.322e-05/0.9448, allocations: 49.19 kB / 0.8236 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003149/0.948, allocations: 1.524 MB / 0.8251 GB, free: 14.82 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.00607/0.9541, allocations: 4.045 MB / 0.8291 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002199/0.9563, allocations: 0.9716 MB / 0.83 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00134/0.9576, allocations: 0.658 MB / 0.8307 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001059/0.9587, allocations: 0.6102 MB / 0.8313 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.9587, allocations: 49.39 kB / 0.8313 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.214e-06/0.9587, allocations: 0 / 0.8313 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.004267/0.963, allocations: 1.787 MB / 0.833 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.9631, allocations: 63.97 kB / 0.8331 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.9641, allocations: 0.8155 MB / 0.8339 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.528e-05/0.9642, allocations: 41.39 kB / 0.8339 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003029/0.9645, allocations: 450.9 kB / 0.8344 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001819/0.9647, allocations: 252.3 kB / 0.8346 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002868/0.965, allocations: 157 kB / 0.8348 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.9651, allocations: 336.1 kB / 0.8351 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/0.9664, allocations: 0.529 MB / 0.8356 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/0.9678, allocations: 0.657 MB / 0.8362 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002499/0.9703, allocations: 1.131 MB / 0.8373 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.9703, allocations: 3.938 kB / 0.8374 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002968/0.9732, allocations: 1.344 MB / 0.8387 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.321e-05/0.9733, allocations: 35.14 kB / 0.8387 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.9733, allocations: 6.312 kB / 0.8387 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.9733, allocations: 2.844 kB / 0.8387 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/0.9748, allocations: 256.4 kB / 0.839 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006794/0.9755, allocations: 1.191 MB / 0.8401 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/0.9765, allocations: 147.4 kB / 0.8403 GB, free: 4.504 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.9767, allocations: 27.98 kB / 0.8403 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001606/0.9783, allocations: 0.7633 MB / 0.841 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001359/0.9796, allocations: 0.6562 MB / 0.8417 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002492/0.9821, allocations: 1.123 MB / 0.8428 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.836e-06/0.9822, allocations: 0 / 0.8428 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.002961/0.9851, allocations: 1.339 MB / 0.8441 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.187e-05/0.9852, allocations: 37.7 kB / 0.8441 GB, free: 500 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.9852, allocations: 3.938 kB / 0.8441 GB, free: 496 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.044e-06/0.9852, allocations: 4 kB / 0.8441 GB, free: 492 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.9863, allocations: 229.3 kB / 0.8443 GB, free: 272 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.9864, allocations: 8 kB / 0.8443 GB, free: 264 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.9874, allocations: 127.4 kB / 0.8445 GB, free: 136 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.352e-05/0.9875, allocations: 39.97 kB / 0.8445 GB, free: 96 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.0002883/0.9878, allocations: 217.6 kB / 0.8447 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002113/0.988, allocations: 106.7 kB / 0.8448 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003186/0.9912, allocations: 1.351 MB / 0.8461 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.9912, allocations: 8 kB / 0.8461 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.9912, allocations: 3.984 kB / 0.8461 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.9912, allocations: 0 / 0.8461 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005433/0.9967, allocations: 2.841 MB / 0.8489 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.9967, allocations: 4 kB / 0.8489 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/0.9978, allocations: 229 kB / 0.8491 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-05/0.9979, allocations: 7.938 kB / 0.8491 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.412e-05/0.9979, allocations: 27.98 kB / 0.8492 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000553/0.9985, allocations: 1.194 MB / 0.8503 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.9985, allocations: 7.938 kB / 0.8503 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002959/1.001, allocations: 1.446 MB / 0.8518 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006007/1.002, allocations: 311.4 kB / 0.8521 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/1.002, allocations: 20 kB / 0.8521 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/1.003, allocations: 107.9 kB / 0.8522 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001825/1.004, allocations: 59.53 kB / 0.8522 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001279/1.004, allocations: 39.97 kB / 0.8523 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008582/1.005, allocations: 0.57 MB / 0.8528 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.01e-07/1.005, allocations: 3.938 kB / 0.8528 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00141/1.006, allocations: 0.5341 MB / 0.8534 GB, free: 6.855 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.0005871/1.007, allocations: 279.8 kB / 0.8536 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004893/1.012, allocations: 2.015 MB / 0.8556 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/1.012, allocations: 4 kB / 0.8556 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001547/1.013, allocations: 0.6581 MB / 0.8562 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0021/1.015, allocations: 499 kB / 0.8567 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003972/1.019, allocations: 2.08 MB / 0.8587 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006665/1.02, allocations: 1.091 MB / 0.8598 GB, free: 224 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001297/1.021, allocations: 391.6 kB / 0.8602 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003238/1.022, allocations: 87.34 kB / 0.8603 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of SimCode: time 5.41e-07/1.022, allocations: 4 kB / 0.8603 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of Templates: time 0.03189/1.054, allocations: 20.82 MB / 0.8806 GB, free: 11.27 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 gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)