Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0009871/0.0009869, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006468/0.006469, allocations: 171.1 kB / 16.26 MB, free: 6.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.382/1.382, 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/package.mo): time 0.8055/0.8055, allocations: 132.3 MB / 423.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004459/0.0004458, allocations: 8.281 kB / 0.504 GB, free: 3.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5052/0.5056, allocations: 81.58 MB / 0.5837 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.2489/0.7546, allocations: 209.2 MB / 0.788 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01246/0.7671, allocations: 7.056 MB / 0.7948 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002/0.7692, allocations: 35.75 kB / 0.7949 GB, free: 7.422 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00242/0.7716, allocations: 0.6489 MB / 0.7955 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007366/0.779, allocations: 2.36 MB / 0.7978 GB, free: 4.402 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00331/0.7824, allocations: 1.061 MB / 0.7989 GB, free: 3.359 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005231/0.7876, allocations: 3.741 MB / 0.8025 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002082/0.7897, allocations: 0.9064 MB / 0.8034 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004808/0.7945, allocations: 1.751 MB / 0.8051 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002603/0.7972, allocations: 0.9161 MB / 0.806 GB, free: 12 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003699/0.7975, allocations: 44 kB / 0.806 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00532/0.8029, allocations: 2.794 MB / 0.8088 GB, free: 9.16 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006647/0.8036, allocations: 358.7 kB / 0.8091 GB, free: 8.809 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001376/0.8049, allocations: 0.6273 MB / 0.8097 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004651/0.8096, allocations: 2.516 MB / 0.8122 GB, free: 5.648 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.8096, allocations: 0 / 0.8122 GB, free: 5.648 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.425e-06/0.8096, allocations: 0 / 0.8122 GB, free: 5.648 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.897e-05/0.8097, allocations: 0 / 0.8122 GB, free: 5.648 MB / 0.6387 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.004646/0.8144, allocations: 1.606 MB / 0.8137 GB, free: 3.98 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.8144, allocations: 8.031 kB / 0.8138 GB, free: 3.973 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003362/0.8178, allocations: 0.5877 MB / 0.8143 GB, free: 3.383 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002006/0.8198, allocations: 0.9563 MB / 0.8153 GB, free: 2.383 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006895/0.8205, allocations: 201.9 kB / 0.8155 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002383/0.8208, allocations: 80 kB / 0.8155 GB, free: 2.109 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003061/0.8238, allocations: 1.268 MB / 0.8168 GB, free: 0.832 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.8239, allocations: 0 / 0.8168 GB, free: 0.832 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.824, allocations: 39.98 kB / 0.8168 GB, free: 0.793 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.429e-05/0.8241, allocations: 45.92 kB / 0.8168 GB, free: 0.7461 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.445/1.269, allocations: 1.613 MB / 0.8184 GB, free: 17.96 MB / 0.6387 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.008167/1.277, allocations: 4.092 MB / 0.8224 GB, free: 16.49 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003001/1.28, allocations: 1.054 MB / 0.8234 GB, free: 16.46 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001832/1.282, allocations: 0.6944 MB / 0.8241 GB, free: 16.44 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001101/1.283, allocations: 0.6358 MB / 0.8247 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/1.283, allocations: 49.7 kB / 0.8248 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 4.248e-06/1.283, allocations: 0 / 0.8248 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.005713/1.289, allocations: 1.921 MB / 0.8267 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/1.289, allocations: 59.84 kB / 0.8267 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/1.29, allocations: 0.8188 MB / 0.8275 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001676/1.291, allocations: 41.98 kB / 0.8276 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000302/1.291, allocations: 437 kB / 0.828 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002348/1.291, allocations: 261.6 kB / 0.8282 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/1.291, allocations: 64.08 kB / 0.8283 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.009e-05/1.291, allocations: 336.5 kB / 0.8286 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001608/1.293, allocations: 0.5688 MB / 0.8292 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001747/1.295, allocations: 0.7005 MB / 0.8299 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003166/1.298, allocations: 1.219 MB / 0.831 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/1.298, allocations: 4.719 kB / 0.8311 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.004121/1.302, allocations: 1.433 MB / 0.8325 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001258/1.302, allocations: 159.9 kB / 0.8326 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/1.302, allocations: 0.6562 kB / 0.8326 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.559e-05/1.302, allocations: 4.719 kB / 0.8326 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001755/1.304, allocations: 282.3 kB / 0.8329 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006584/1.305, allocations: 1.195 MB / 0.834 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/1.307, allocations: 196.1 kB / 0.8342 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001614/1.307, allocations: 39.72 kB / 0.8343 GB, free: 13 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/1.307, allocations: 4.219 kB / 0.8343 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003848/1.311, allocations: 1.323 MB / 0.8356 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/1.311, allocations: 1.719 kB / 0.8356 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/1.311, allocations: 4.562 kB / 0.8356 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/1.312, allocations: 255.9 kB / 0.8358 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.086e-05/1.312, allocations: 4.25 kB / 0.8358 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/1.314, allocations: 190.4 kB / 0.836 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/1.314, allocations: 36.69 kB / 0.836 GB, free: 12.87 MB / 0.6387 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.0007521/1.314, allocations: 374.6 kB / 0.8364 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003597/1.315, allocations: 108.2 kB / 0.8365 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003658/1.318, allocations: 1.436 MB / 0.8379 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/1.319, allocations: 6.156 kB / 0.8379 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/1.319, allocations: 3.5 kB / 0.8379 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/1.319, allocations: 6.844 kB / 0.8379 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005931/1.324, allocations: 2.932 MB / 0.8408 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/1.325, allocations: 3.594 kB / 0.8408 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/1.326, allocations: 253.5 kB / 0.841 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.67e-05/1.326, allocations: 6.75 kB / 0.841 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.663e-05/1.326, allocations: 24.72 kB / 0.8411 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004113/1.326, allocations: 1.193 MB / 0.8422 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/1.326, allocations: 5.844 kB / 0.8422 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003351/1.33, allocations: 1.542 MB / 0.8437 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006412/1.33, allocations: 308.6 kB / 0.844 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002329/1.331, allocations: 21.7 kB / 0.844 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001422/1.332, allocations: 167 kB / 0.8442 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/1.332, allocations: 67.23 kB / 0.8443 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.298e-05/1.332, allocations: 36.23 kB / 0.8443 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008428/1.333, allocations: 0.5667 MB / 0.8449 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/1.333, allocations: 0 / 0.8449 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001945/1.335, allocations: 0.5312 MB / 0.8454 GB, free: 10.12 MB / 0.6387 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.0007441/1.336, allocations: 263.9 kB / 0.8456 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00545/1.341, allocations: 2.158 MB / 0.8477 GB, free: 9.824 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.812e-06/1.341, allocations: 0 / 0.8477 GB, free: 9.824 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001773/1.343, allocations: 0.7039 MB / 0.8484 GB, free: 9.809 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003809/1.347, allocations: 0.5116 MB / 0.8489 GB, free: 9.773 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005242/1.352, allocations: 2.563 MB / 0.8514 GB, free: 8.539 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007074/1.353, allocations: 1.095 MB / 0.8525 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001849/1.355, allocations: 392.6 kB / 0.8529 GB, free: 7.742 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003865/1.355, allocations: 83.14 kB / 0.8529 GB, free: 7.738 MB / 0.6387 GB Notification: Performance of SimCode: time 1.813e-06/1.355, allocations: 0 / 0.8529 GB, free: 7.738 MB / 0.6387 GB Notification: Performance of Templates: time 0.03435/1.39, allocations: 19.99 MB / 0.8725 GB, free: 3.637 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)