Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001532/0.001533, allocations: 105.4 kB / 16.37 MB, free: 6.309 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.001767/0.001767, allocations: 189.5 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.778/1.778, allocations: 292.3 MB / 0.5496 GB, free: 17.5 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 75.59 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2137, allocations: 114.6 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.6061/0.8198, allocations: 214.2 MB / 0.994 GB, free: 3.691 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01086/0.8307, allocations: 6.941 MB / 1.001 GB, free: 12.74 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001764/0.8325, allocations: 43.75 kB / 1.001 GB, free: 12.7 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002352/0.835, allocations: 0.7882 MB / 1.002 GB, free: 11.91 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.006772/0.8418, allocations: 2.481 MB / 1.004 GB, free: 9.414 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003092/0.8449, allocations: 1.184 MB / 1.005 GB, free: 8.246 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.003763/0.8486, allocations: 2.786 MB / 1.008 GB, free: 5.453 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001731/0.8504, allocations: 1.091 MB / 1.009 GB, free: 4.348 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003973/0.8544, allocations: 1.985 MB / 1.011 GB, free: 2.355 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002038/0.8564, allocations: 0.9401 MB / 1.012 GB, free: 1.422 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002794/0.8567, allocations: 116 kB / 1.012 GB, free: 1.309 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004172/0.8609, allocations: 2.455 MB / 1.014 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0005231/0.8614, allocations: 426.7 kB / 1.015 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001186/0.8626, allocations: 0.6881 MB / 1.015 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.003866/0.8665, allocations: 2.493 MB / 1.018 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.8665, allocations: 3.938 kB / 1.018 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.312e-06/0.8665, allocations: 0 / 1.018 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.053e-05/0.8666, allocations: 0 / 1.018 GB, free: 11.23 MB / 0.8106 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.004664/0.8712, allocations: 1.843 MB / 1.02 GB, free: 9.336 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.8713, allocations: 8.031 kB / 1.02 GB, free: 9.328 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003176/0.8745, allocations: 0.5446 MB / 1.02 GB, free: 8.781 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001874/0.8764, allocations: 0.9992 MB / 1.021 GB, free: 7.738 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.566e-05/0.8765, allocations: 69.98 kB / 1.021 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.8766, allocations: 84 kB / 1.021 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002767/0.8794, allocations: 1.225 MB / 1.022 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.8794, allocations: 0 / 1.022 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.8796, allocations: 35.98 kB / 1.023 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.817e-05/0.8796, allocations: 41.98 kB / 1.023 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003739/0.8834, allocations: 1.534 MB / 1.024 GB, free: 4.742 MB / 0.8106 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.00636/0.8897, allocations: 4.041 MB / 1.028 GB, free: 440 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002476/0.8922, allocations: 0.974 MB / 1.029 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/0.8938, allocations: 0.6552 MB / 1.03 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001085/0.8949, allocations: 0.6087 MB / 1.03 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.8949, allocations: 39.91 kB / 1.03 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=76): time 2.515e-06/0.8949, allocations: 4 kB / 1.03 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=76): time 0.004939/0.8999, allocations: 1.781 MB / 1.032 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.8999, allocations: 64.06 kB / 1.032 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.9009, allocations: 0.8154 MB / 1.033 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.901, allocations: 45.7 kB / 1.033 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003128/0.9014, allocations: 444.5 kB / 1.033 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002149/0.9016, allocations: 264.1 kB / 1.034 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002952/0.9019, allocations: 150.5 kB / 1.034 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.902, allocations: 337.9 kB / 1.034 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001445/0.9035, allocations: 0.5278 MB / 1.035 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001528/0.905, allocations: 0.6598 MB / 1.035 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002855/0.9079, allocations: 1.123 MB / 1.036 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.9079, allocations: 0 / 1.036 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00341/0.9113, allocations: 1.353 MB / 1.038 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.241e-05/0.9113, allocations: 33.7 kB / 1.038 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.9114, allocations: 6.562 kB / 1.038 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.9114, allocations: 4 kB / 1.038 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/0.9129, allocations: 253.9 kB / 1.038 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006927/0.9137, allocations: 1.195 MB / 1.039 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.9148, allocations: 147.3 kB / 1.039 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.699e-05/0.9149, allocations: 35.98 kB / 1.039 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00172/0.9166, allocations: 0.7556 MB / 1.04 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001541/0.9182, allocations: 0.651 MB / 1.041 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002837/0.921, allocations: 1.123 MB / 1.042 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.496e-06/0.921, allocations: 4 kB / 1.042 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003345/0.9244, allocations: 1.337 MB / 1.043 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.743e-05/0.9244, allocations: 41.64 kB / 1.043 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.9245, allocations: 0 / 1.043 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.254e-06/0.9245, allocations: 4 kB / 1.043 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.9257, allocations: 231.7 kB / 1.043 GB, free: 404 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.9257, allocations: 4 kB / 1.043 GB, free: 400 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.9268, allocations: 132.4 kB / 1.043 GB, free: 268 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-05/0.9269, allocations: 39.97 kB / 1.043 GB, free: 228 kB / 0.8262 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.000264/0.9271, allocations: 216.1 kB / 1.044 GB, free: 4 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002256/0.9274, allocations: 106.9 kB / 1.044 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003493/0.9309, allocations: 1.345 MB / 1.045 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.9309, allocations: 3.984 kB / 1.045 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.9309, allocations: 1.625 kB / 1.045 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004793/0.9314, allocations: 303.5 kB / 1.045 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/0.9316, allocations: 15.94 kB / 1.045 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/0.9327, allocations: 103.9 kB / 1.045 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.9328, allocations: 48.58 kB / 1.046 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003847/0.9366, allocations: 1.354 MB / 1.047 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004794/0.9414, allocations: 2.101 MB / 1.049 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001446/0.9429, allocations: 0.5595 MB / 1.049 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000733/0.9436, allocations: 0.5739 MB / 1.05 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of Backend: time 3.51e-07/0.9437, allocations: 4 kB / 1.05 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.005685/0.9493, allocations: 2.036 MB / 1.052 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of SimCode: time 0.003566/0.9529, allocations: 2.269 MB / 1.054 GB, free: 5.086 MB / 0.8419 GB Notification: Performance of Templates: time 0.04604/0.999, allocations: 29.93 MB / 1.083 GB, free: 7.477 MB / 0.8731 GB make -j1 -f Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)