Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001113/0.001113, allocations: 112.7 kB / 17.04 MB, free: 5.805 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.001996/0.001996, allocations: 195 kB / 17.98 MB, free: 5.031 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.287/1.287, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6836/0.6836, allocations: 115.1 MB / 406.9 MB, free: 6.395 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 59.91 kB / 494.8 MB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3188, allocations: 76.14 MB / 0.5576 GB, free: 36.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.5216/0.8404, allocations: 214.2 MB / 0.7667 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009738/0.8502, allocations: 7.045 MB / 0.7736 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001449/0.8517, allocations: 45.38 kB / 0.7736 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001689/0.8534, allocations: 0.787 MB / 0.7744 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005565/0.859, allocations: 2.515 MB / 0.7769 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002777/0.8618, allocations: 1.174 MB / 0.778 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003788/0.8656, allocations: 2.828 MB / 0.7808 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00147/0.867, allocations: 1.084 MB / 0.7818 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00382/0.8709, allocations: 1.988 MB / 0.7838 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00168/0.8726, allocations: 0.9528 MB / 0.7847 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001892/0.8728, allocations: 117.5 kB / 0.7848 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0045/0.8773, allocations: 2.452 MB / 0.7872 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004283/0.8777, allocations: 420.2 kB / 0.7876 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007371/0.8785, allocations: 0.6898 MB / 0.7883 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003289/0.8818, allocations: 2.499 MB / 0.7907 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.8818, allocations: 0.875 kB / 0.7907 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8818, allocations: 0 / 0.7907 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.563e-05/0.8818, allocations: 0 / 0.7907 GB, free: 1.184 MB / 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.003746/0.8856, allocations: 1.853 MB / 0.7925 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.8856, allocations: 8 kB / 0.7925 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002699/0.8883, allocations: 0.5385 MB / 0.7931 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/0.89, allocations: 1.007 MB / 0.794 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.18e-05/0.8901, allocations: 63.5 kB / 0.7941 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.8902, allocations: 83.41 kB / 0.7942 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002216/0.8924, allocations: 1.226 MB / 0.7954 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.8924, allocations: 1.781 kB / 0.7954 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.64e-05/0.8925, allocations: 34.44 kB / 0.7954 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.429e-05/0.8926, allocations: 46.22 kB / 0.7955 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002942/0.8956, allocations: 1.525 MB / 0.7969 GB, free: 15.77 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.005331/0.9009, allocations: 4.044 MB / 0.8009 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002046/0.903, allocations: 0.9719 MB / 0.8018 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001378/0.9043, allocations: 0.6575 MB / 0.8025 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001111/0.9055, allocations: 0.6071 MB / 0.8031 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.265e-05/0.9055, allocations: 45.59 kB / 0.8031 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.785e-06/0.9055, allocations: 0 / 0.8031 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.004323/0.9099, allocations: 1.787 MB / 0.8049 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.9099, allocations: 60.91 kB / 0.8049 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008395/0.9108, allocations: 0.8249 MB / 0.8057 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.503e-05/0.9108, allocations: 44.83 kB / 0.8058 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002694/0.9111, allocations: 443.4 kB / 0.8062 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001932/0.9113, allocations: 265.8 kB / 0.8064 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002637/0.9116, allocations: 150.2 kB / 0.8066 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.9117, allocations: 336.8 kB / 0.8069 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/0.9129, allocations: 0.5251 MB / 0.8074 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/0.9141, allocations: 0.6446 MB / 0.8081 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002312/0.9165, allocations: 1.116 MB / 0.8091 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.9165, allocations: 2.094 kB / 0.8091 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002785/0.9193, allocations: 1.319 MB / 0.8104 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.993e-05/0.9193, allocations: 42.88 kB / 0.8105 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.9193, allocations: 4.062 kB / 0.8105 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.9194, allocations: 5.219 kB / 0.8105 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/0.9208, allocations: 247.9 kB / 0.8107 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006345/0.9214, allocations: 1.194 MB / 0.8119 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.9224, allocations: 142.3 kB / 0.812 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.933e-05/0.9225, allocations: 34.38 kB / 0.8121 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001547/0.9241, allocations: 0.7499 MB / 0.8128 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001337/0.9254, allocations: 0.6457 MB / 0.8134 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002324/0.9278, allocations: 1.103 MB / 0.8145 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.729e-06/0.9278, allocations: 7.047 kB / 0.8145 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.002728/0.9305, allocations: 1.318 MB / 0.8158 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.856e-05/0.9306, allocations: 37.45 kB / 0.8158 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.9306, allocations: 7.906 kB / 0.8158 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.51e-06/0.9306, allocations: 2.438 kB / 0.8158 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.9317, allocations: 217.2 kB / 0.816 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.9317, allocations: 12.31 kB / 0.8161 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009849/0.9327, allocations: 132.4 kB / 0.8162 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.003e-05/0.9328, allocations: 32.67 kB / 0.8162 GB, free: 9.891 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (83): * Single equations (assignments): 80 * 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.000269/0.933, allocations: 218.3 kB / 0.8164 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002259/0.9333, allocations: 108.2 kB / 0.8165 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003062/0.9363, allocations: 1.346 MB / 0.8178 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.9364, allocations: 10.53 kB / 0.8178 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.9364, allocations: 7.125 kB / 0.8179 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.9364, allocations: 3.984 kB / 0.8179 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005156/0.9416, allocations: 2.825 MB / 0.8206 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.9416, allocations: 2.406 kB / 0.8206 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001142/0.9427, allocations: 230.3 kB / 0.8208 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/0.9428, allocations: 5.438 kB / 0.8208 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.232e-05/0.9428, allocations: 27.88 kB / 0.8209 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005546/0.9434, allocations: 1.197 MB / 0.822 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.9434, allocations: 6.438 kB / 0.822 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00284/0.9463, allocations: 1.455 MB / 0.8235 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005308/0.9468, allocations: 312.6 kB / 0.8238 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/0.947, allocations: 16.19 kB / 0.8238 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.948, allocations: 100.1 kB / 0.8239 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.9482, allocations: 72.83 kB / 0.8239 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.048e-05/0.9482, allocations: 32.84 kB / 0.824 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006967/0.9489, allocations: 0.5709 MB / 0.8245 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9489, allocations: 0 / 0.8245 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001327/0.9503, allocations: 0.5358 MB / 0.8251 GB, free: 5.91 MB / 0.5919 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.0006257/0.9509, allocations: 276 kB / 0.8253 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004761/0.9557, allocations: 2.008 MB / 0.8273 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.9557, allocations: 0 / 0.8273 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001576/0.9573, allocations: 0.6621 MB / 0.8279 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002122/0.9594, allocations: 0.497 MB / 0.8284 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004012/0.9634, allocations: 2.06 MB / 0.8304 GB, free: 1.699 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006472/0.9641, allocations: 1.087 MB / 0.8315 GB, free: 0.5781 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001301/0.9654, allocations: 391.5 kB / 0.8319 GB, free: 196 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003281/0.9658, allocations: 91.39 kB / 0.8319 GB, free: 108 kB / 0.5919 GB Notification: Performance of SimCode: time 7.02e-07/0.9658, allocations: 3.938 kB / 0.8319 GB, free: 104 kB / 0.5919 GB Notification: Performance of Templates: time 0.0335/0.9993, allocations: 20.93 MB / 0.8524 GB, free: 11.54 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)