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.001228/0.001228, allocations: 107 kB / 16.41 MB, free: 6.504 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.001239/0.001239, allocations: 187 kB / 17.34 MB, free: 5.742 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8196/0.8196, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 67.23 kB / 0.5862 GB, free: 21.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1588, allocations: 80.93 MB / 0.6653 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.6435/0.8024, allocations: 214.2 MB / 0.8744 GB, free: 9.07 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01314/0.8156, allocations: 7.033 MB / 0.8813 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002187/0.8178, allocations: 43.75 kB / 0.8814 GB, free: 1.98 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002514/0.8203, allocations: 0.7881 MB / 0.8821 GB, free: 1.188 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007302/0.8277, allocations: 2.505 MB / 0.8846 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0036/0.8313, allocations: 1.168 MB / 0.8857 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004503/0.8358, allocations: 2.82 MB / 0.8885 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002321/0.8382, allocations: 1.089 MB / 0.8895 GB, free: 9.582 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00526/0.8435, allocations: 2.02 MB / 0.8915 GB, free: 7.555 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002682/0.8462, allocations: 0.935 MB / 0.8924 GB, free: 6.621 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004829/0.8467, allocations: 116 kB / 0.8925 GB, free: 6.508 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005463/0.8521, allocations: 2.451 MB / 0.8949 GB, free: 4.051 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008089/0.853, allocations: 422.7 kB / 0.8953 GB, free: 3.637 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001596/0.8546, allocations: 0.6882 MB / 0.896 GB, free: 2.945 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005958/0.8606, allocations: 2.501 MB / 0.8984 GB, free: 448 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.8606, allocations: 0 / 0.8984 GB, free: 448 kB / 0.6544 GB Notification: Performance of FrontEnd: time 2.535e-06/0.8606, allocations: 0 / 0.8984 GB, free: 448 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.689e-05/0.8607, allocations: 0 / 0.8984 GB, free: 448 kB / 0.6544 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.006173/0.8669, allocations: 1.851 MB / 0.9002 GB, free: 14.53 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.8669, allocations: 9.109 kB / 0.9003 GB, free: 14.52 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00339/0.8703, allocations: 0.537 MB / 0.9008 GB, free: 13.98 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002295/0.8727, allocations: 1.003 MB / 0.9018 GB, free: 12.93 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.824e-05/0.8728, allocations: 66 kB / 0.9018 GB, free: 12.87 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000252/0.873, allocations: 84 kB / 0.9019 GB, free: 12.79 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003081/0.8761, allocations: 1.221 MB / 0.9031 GB, free: 11.55 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.8762, allocations: 0 / 0.9031 GB, free: 11.55 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/0.8763, allocations: 43.92 kB / 0.9031 GB, free: 11.51 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.194e-05/0.8764, allocations: 41.98 kB / 0.9032 GB, free: 11.47 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003762/0.8802, allocations: 1.534 MB / 0.9047 GB, free: 9.938 MB / 0.67 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.007402/0.8876, allocations: 4.044 MB / 0.9086 GB, free: 5.617 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002421/0.89, allocations: 0.974 MB / 0.9096 GB, free: 4.637 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001438/0.8915, allocations: 0.6474 MB / 0.9102 GB, free: 3.984 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001146/0.8926, allocations: 0.6087 MB / 0.9108 GB, free: 3.266 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.8927, allocations: 43.22 kB / 0.9108 GB, free: 3.215 MB / 0.67 GB Notification: Performance of pre-optimization done (n=76): time 3.016e-06/0.8927, allocations: 0 / 0.9108 GB, free: 3.215 MB / 0.67 GB Notification: Performance of matching and sorting (n=76): time 0.005014/0.8977, allocations: 1.785 MB / 0.9126 GB, free: 1.422 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.8978, allocations: 60.06 kB / 0.9126 GB, free: 1.352 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.8991, allocations: 0.8232 MB / 0.9135 GB, free: 0.5039 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001357/0.8993, allocations: 45.7 kB / 0.9135 GB, free: 464 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.00038/0.8997, allocations: 436.5 kB / 0.9139 GB, free: 20 kB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002561/0.8999, allocations: 252.4 kB / 0.9142 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003217/0.9003, allocations: 166.4 kB / 0.9143 GB, free: 15.6 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.9004, allocations: 341.8 kB / 0.9146 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/0.9018, allocations: 0.5278 MB / 0.9152 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001425/0.9032, allocations: 0.6559 MB / 0.9158 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002642/0.9059, allocations: 1.131 MB / 0.9169 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.9059, allocations: 3.938 kB / 0.9169 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003257/0.9092, allocations: 1.341 MB / 0.9182 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.117e-05/0.9092, allocations: 43.62 kB / 0.9183 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.9092, allocations: 4 kB / 0.9183 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.9093, allocations: 4 kB / 0.9183 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001554/0.9108, allocations: 258.2 kB / 0.9185 GB, free: 11.22 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000748/0.9116, allocations: 1.191 MB / 0.9197 GB, free: 9.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.9128, allocations: 143.4 kB / 0.9198 GB, free: 9.84 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.9129, allocations: 39.97 kB / 0.9198 GB, free: 9.801 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001715/0.9146, allocations: 0.7556 MB / 0.9206 GB, free: 9.039 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001377/0.916, allocations: 0.6481 MB / 0.9212 GB, free: 8.359 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002541/0.9186, allocations: 1.116 MB / 0.9223 GB, free: 7.227 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.62e-06/0.9186, allocations: 4 kB / 0.9223 GB, free: 7.223 MB / 0.6856 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003295/0.9219, allocations: 1.337 MB / 0.9236 GB, free: 5.871 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.74e-05/0.922, allocations: 41.64 kB / 0.9237 GB, free: 5.824 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.922, allocations: 3.984 kB / 0.9237 GB, free: 5.82 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.922, allocations: 4 kB / 0.9237 GB, free: 5.816 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.9232, allocations: 223.7 kB / 0.9239 GB, free: 5.598 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.9232, allocations: 4 kB / 0.9239 GB, free: 5.594 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.9243, allocations: 135.4 kB / 0.924 GB, free: 5.461 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.941e-05/0.9244, allocations: 31.98 kB / 0.924 GB, free: 5.43 MB / 0.6856 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.000317/0.9248, allocations: 216.1 kB / 0.9242 GB, free: 5.211 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003125/0.9251, allocations: 110.6 kB / 0.9243 GB, free: 5.102 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003378/0.9285, allocations: 1.357 MB / 0.9257 GB, free: 3.738 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.9285, allocations: 8 kB / 0.9257 GB, free: 3.73 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.9285, allocations: 0 / 0.9257 GB, free: 3.73 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.9285, allocations: 8.078 kB / 0.9257 GB, free: 3.723 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005766/0.9343, allocations: 2.836 MB / 0.9285 GB, free: 0.7773 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/0.9343, allocations: 4.469 kB / 0.9285 GB, free: 0.7734 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/0.9356, allocations: 235.6 kB / 0.9287 GB, free: 0.543 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.625e-05/0.9356, allocations: 8 kB / 0.9287 GB, free: 0.5352 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.077e-05/0.9357, allocations: 23.98 kB / 0.9287 GB, free: 0.5117 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006451/0.9363, allocations: 1.192 MB / 0.9299 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/0.9364, allocations: 7.938 kB / 0.9299 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003198/0.9396, allocations: 1.459 MB / 0.9313 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000605/0.9402, allocations: 307.5 kB / 0.9316 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002284/0.9404, allocations: 19.98 kB / 0.9316 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/0.9417, allocations: 103.8 kB / 0.9317 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.9418, allocations: 64.42 kB / 0.9318 GB, free: 13.24 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.633e-05/0.9419, allocations: 35.97 kB / 0.9318 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.000869/0.9428, allocations: 0.57 MB / 0.9324 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9428, allocations: 0 / 0.9324 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001653/0.9445, allocations: 0.5302 MB / 0.9329 GB, free: 12.09 MB / 0.7012 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.0007168/0.9452, allocations: 275.3 kB / 0.9332 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.005163/0.9504, allocations: 2.022 MB / 0.9351 GB, free: 9.781 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.9504, allocations: 0 / 0.9351 GB, free: 9.781 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001638/0.9521, allocations: 0.6597 MB / 0.9358 GB, free: 9.121 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002521/0.9546, allocations: 0.4961 MB / 0.9363 GB, free: 8.633 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004863/0.9595, allocations: 2.125 MB / 0.9383 GB, free: 6.422 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007711/0.9603, allocations: 1.087 MB / 0.9394 GB, free: 5.301 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005051/0.9608, allocations: 103.4 kB / 0.9395 GB, free: 5.203 MB / 0.7012 GB Notification: Performance of SimCode: time 7.41e-07/0.9608, allocations: 0 / 0.9395 GB, free: 5.203 MB / 0.7012 GB Notification: Performance of Templates: time 0.03627/0.9971, allocations: 26.98 MB / 0.9658 GB, free: 10.32 MB / 0.7325 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)