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.00488/0.00488, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001142/0.001142, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.796/0.796, allocations: 132.2 MB / 422.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 63.91 kB / 0.5813 GB, free: 7.57 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4585/0.46, allocations: 80.21 MB / 0.6597 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.6803/1.14, allocations: 214.2 MB / 0.8688 GB, free: 1.938 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01144/1.152, allocations: 7.03 MB / 0.8757 GB, free: 1.898 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002004/1.154, allocations: 42.31 kB / 0.8757 GB, free: 1.898 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001967/1.156, allocations: 0.8139 MB / 0.8765 GB, free: 1.887 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007876/1.164, allocations: 2.615 MB / 0.8791 GB, free: 1.797 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004016/1.168, allocations: 1.175 MB / 0.8802 GB, free: 1.766 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005644/1.173, allocations: 2.826 MB / 0.883 GB, free: 1.762 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002587/1.176, allocations: 1.087 MB / 0.884 GB, free: 1.652 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00537/1.181, allocations: 2.057 MB / 0.886 GB, free: 1.625 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003673/1.185, allocations: 0.9326 MB / 0.887 GB, free: 1.621 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001154/1.186, allocations: 118.5 kB / 0.8871 GB, free: 1.621 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008557/1.195, allocations: 2.456 MB / 0.8895 GB, free: 1.598 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001312/1.196, allocations: 430.9 kB / 0.8899 GB, free: 1.598 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002747/1.199, allocations: 0.6921 MB / 0.8906 GB, free: 1.594 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00649/1.205, allocations: 2.503 MB / 0.893 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/1.206, allocations: 0.6875 kB / 0.893 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.824e-06/1.206, allocations: 0.875 kB / 0.893 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.309e-05/1.206, allocations: 0 / 0.893 GB, free: 1.453 MB / 0.6856 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.00712/1.213, allocations: 1.848 MB / 0.8948 GB, free: 16.54 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/1.213, allocations: 9.906 kB / 0.8948 GB, free: 16.54 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003669/1.216, allocations: 0.5344 MB / 0.8953 GB, free: 16.47 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00266/1.219, allocations: 1.007 MB / 0.8963 GB, free: 16.12 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/1.219, allocations: 67.38 kB / 0.8964 GB, free: 16.12 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003278/1.22, allocations: 83.53 kB / 0.8965 GB, free: 16.12 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003488/1.223, allocations: 1.227 MB / 0.8977 GB, free: 16.06 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/1.223, allocations: 1.594 kB / 0.8977 GB, free: 16.06 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/1.223, allocations: 33.89 kB / 0.8977 GB, free: 16.06 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001097/1.223, allocations: 46.78 kB / 0.8977 GB, free: 16.06 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004382/1.228, allocations: 1.528 MB / 0.8992 GB, free: 16.05 MB / 0.7012 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.009661/1.237, allocations: 4.049 MB / 0.9032 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002473/1.24, allocations: 0.9675 MB / 0.9041 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00142/1.241, allocations: 0.6592 MB / 0.9048 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/1.243, allocations: 0.6052 MB / 0.9054 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/1.243, allocations: 43.53 kB / 0.9054 GB, free: 13.85 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=76): time 3.647e-06/1.243, allocations: 3.25 kB / 0.9054 GB, free: 13.85 MB / 0.7012 GB Notification: Performance of matching and sorting (n=76): time 0.004796/1.247, allocations: 1.778 MB / 0.9071 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/1.247, allocations: 59.88 kB / 0.9072 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/1.249, allocations: 0.8213 MB / 0.908 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001527/1.249, allocations: 41.3 kB / 0.908 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003328/1.249, allocations: 443.5 kB / 0.9085 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002492/1.249, allocations: 264.1 kB / 0.9087 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003178/1.25, allocations: 153.9 kB / 0.9089 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001297/1.25, allocations: 338.3 kB / 0.9092 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001327/1.251, allocations: 0.5346 MB / 0.9097 GB, free: 12.85 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001489/1.253, allocations: 0.6533 MB / 0.9104 GB, free: 12.76 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002741/1.256, allocations: 1.13 MB / 0.9115 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.256, allocations: 0 / 0.9115 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003324/1.259, allocations: 1.341 MB / 0.9128 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.426e-05/1.259, allocations: 44.47 kB / 0.9128 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/1.259, allocations: 0 / 0.9128 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/1.259, allocations: 3.625 kB / 0.9128 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/1.261, allocations: 259.5 kB / 0.9131 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007106/1.261, allocations: 1.198 MB / 0.9142 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/1.263, allocations: 144.5 kB / 0.9144 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/1.263, allocations: 36.91 kB / 0.9144 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001764/1.265, allocations: 0.7575 MB / 0.9151 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001447/1.266, allocations: 0.6471 MB / 0.9158 GB, free: 11.09 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002701/1.269, allocations: 1.119 MB / 0.9169 GB, free: 10.99 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.719e-06/1.269, allocations: 3.188 kB / 0.9169 GB, free: 10.99 MB / 0.7012 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.00349/1.272, allocations: 1.343 MB / 0.9182 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.943e-05/1.272, allocations: 35.8 kB / 0.9182 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/1.272, allocations: 4.062 kB / 0.9182 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/1.272, allocations: 5.562 kB / 0.9182 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/1.274, allocations: 226.1 kB / 0.9184 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/1.274, allocations: 8.328 kB / 0.9184 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/1.275, allocations: 139.3 kB / 0.9186 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/1.275, allocations: 34.89 kB / 0.9186 GB, free: 10.76 MB / 0.7012 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.0003319/1.275, allocations: 224 kB / 0.9188 GB, free: 10.58 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003547/1.276, allocations: 103.3 kB / 0.9189 GB, free: 10.53 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003466/1.279, allocations: 1.343 MB / 0.9202 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.467e-06/1.279, allocations: 8.656 kB / 0.9202 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/1.279, allocations: 9.359 kB / 0.9203 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/1.279, allocations: 3 kB / 0.9203 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006296/1.286, allocations: 2.83 MB / 0.923 GB, free: 9.941 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/1.286, allocations: 2.938 kB / 0.923 GB, free: 9.941 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/1.287, allocations: 233.5 kB / 0.9232 GB, free: 9.93 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-05/1.287, allocations: 8.375 kB / 0.9233 GB, free: 9.93 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.397e-05/1.287, allocations: 26 kB / 0.9233 GB, free: 9.93 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000734/1.288, allocations: 1.188 MB / 0.9244 GB, free: 8.758 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/1.288, allocations: 12.28 kB / 0.9244 GB, free: 8.758 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003378/1.291, allocations: 1.44 MB / 0.9259 GB, free: 8.41 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008662/1.292, allocations: 316.6 kB / 0.9262 GB, free: 8.25 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003378/1.292, allocations: 19.72 kB / 0.9262 GB, free: 8.246 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/1.294, allocations: 101.9 kB / 0.9263 GB, free: 8.242 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001926/1.294, allocations: 65.97 kB / 0.9263 GB, free: 8.23 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/1.294, allocations: 39.09 kB / 0.9264 GB, free: 8.23 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001077/1.295, allocations: 0.5657 MB / 0.9269 GB, free: 8.121 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.3e-07/1.295, allocations: 0 / 0.9269 GB, free: 8.121 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002452/1.298, allocations: 0.5355 MB / 0.9274 GB, free: 8.059 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.0008643/1.299, allocations: 274.5 kB / 0.9277 GB, free: 7.934 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.005608/1.304, allocations: 2.026 MB / 0.9297 GB, free: 7.754 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/1.304, allocations: 0 / 0.9297 GB, free: 7.754 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001687/1.306, allocations: 0.6609 MB / 0.9303 GB, free: 7.742 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00287/1.309, allocations: 494.9 kB / 0.9308 GB, free: 7.668 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004539/1.313, allocations: 2.077 MB / 0.9328 GB, free: 6.871 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007971/1.314, allocations: 1.09 MB / 0.9339 GB, free: 6.152 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001503/1.316, allocations: 394.2 kB / 0.9343 GB, free: 6.062 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003602/1.316, allocations: 89 kB / 0.9344 GB, free: 6.055 MB / 0.7012 GB Notification: Performance of SimCode: time 1.603e-06/1.316, allocations: 0 / 0.9344 GB, free: 6.055 MB / 0.7012 GB Notification: Performance of Templates: time 0.03462/1.351, allocations: 20.97 MB / 0.9548 GB, free: 7.738 MB / 0.7169 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)