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.001367/0.001368, allocations: 104.6 kB / 16.94 MB, free: 5.801 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.001343/0.001343, allocations: 191.3 kB / 17.87 MB, free: 5.18 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.347/1.347, allocations: 222.9 MB / 241.6 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7641/0.7641, allocations: 122.9 MB / 414.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001269, allocations: 71.88 kB / 0.4917 GB, free: 7.469 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.3935, allocations: 77.91 MB / 0.5678 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.6107/1.004, allocations: 214.2 MB / 0.777 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01115/1.015, allocations: 7.052 MB / 0.7839 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002372/1.018, allocations: 42.56 kB / 0.7839 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002357/1.02, allocations: 0.7884 MB / 0.7847 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00761/1.028, allocations: 2.522 MB / 0.7871 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003655/1.032, allocations: 1.149 MB / 0.7883 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004579/1.036, allocations: 2.824 MB / 0.791 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001753/1.038, allocations: 1.083 MB / 0.7921 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004908/1.043, allocations: 1.985 MB / 0.794 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002745/1.046, allocations: 0.9362 MB / 0.7949 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003243/1.046, allocations: 118.1 kB / 0.795 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005417/1.051, allocations: 2.445 MB / 0.7974 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005628/1.052, allocations: 431.6 kB / 0.7978 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001138/1.053, allocations: 0.6845 MB / 0.7985 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004601/1.058, allocations: 2.467 MB / 0.8009 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/1.058, allocations: 4.938 kB / 0.8009 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.875e-06/1.058, allocations: 1.547 kB / 0.8009 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.784e-05/1.058, allocations: 1.125 kB / 0.8009 GB, free: 0.8672 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.005013/1.063, allocations: 1.847 MB / 0.8027 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/1.063, allocations: 9 kB / 0.8027 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003083/1.066, allocations: 0.5395 MB / 0.8033 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001687/1.068, allocations: 0.9595 MB / 0.8042 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006115/1.068, allocations: 177.2 kB / 0.8044 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/1.068, allocations: 82.47 kB / 0.8044 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002722/1.071, allocations: 1.238 MB / 0.8056 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/1.071, allocations: 3.844 kB / 0.8057 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/1.071, allocations: 38.94 kB / 0.8057 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.203e-05/1.071, allocations: 43.08 kB / 0.8057 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003631/1.075, allocations: 1.552 MB / 0.8072 GB, free: 15.45 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.006699/1.082, allocations: 4.08 MB / 0.8112 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002483/1.084, allocations: 0.994 MB / 0.8122 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001438/1.086, allocations: 0.6591 MB / 0.8128 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001139/1.087, allocations: 0.613 MB / 0.8134 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/1.087, allocations: 42.48 kB / 0.8135 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 3.186e-06/1.087, allocations: 2.812 kB / 0.8135 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.004908/1.092, allocations: 1.805 MB / 0.8153 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/1.092, allocations: 62.47 kB / 0.8153 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/1.093, allocations: 0.8204 MB / 0.8161 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001288/1.093, allocations: 44.36 kB / 0.8162 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003232/1.094, allocations: 452.2 kB / 0.8166 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002326/1.094, allocations: 258.3 kB / 0.8168 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000276/1.094, allocations: 151 kB / 0.817 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.094, allocations: 338 kB / 0.8173 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/1.096, allocations: 0.5337 MB / 0.8178 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0015/1.097, allocations: 0.6513 MB / 0.8185 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002784/1.1, allocations: 1.139 MB / 0.8196 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/1.1, allocations: 0 / 0.8196 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003521/1.104, allocations: 1.348 MB / 0.8209 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.751e-05/1.104, allocations: 32.2 kB / 0.8209 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/1.104, allocations: 1.312 kB / 0.8209 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/1.104, allocations: 4.094 kB / 0.8209 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/1.105, allocations: 257.8 kB / 0.8212 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007369/1.106, allocations: 1.195 MB / 0.8223 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/1.107, allocations: 152.8 kB / 0.8225 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.843e-05/1.107, allocations: 34.12 kB / 0.8225 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001775/1.109, allocations: 0.764 MB / 0.8233 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001476/1.111, allocations: 0.6479 MB / 0.8239 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002738/1.113, allocations: 1.129 MB / 0.825 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.926e-06/1.113, allocations: 0 / 0.825 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.003477/1.117, allocations: 1.344 MB / 0.8263 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.603e-05/1.117, allocations: 36.73 kB / 0.8263 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/1.117, allocations: 0 / 0.8263 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.885e-06/1.117, allocations: 3.156 kB / 0.8263 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/1.118, allocations: 231.4 kB / 0.8266 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/1.118, allocations: 4.375 kB / 0.8266 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/1.119, allocations: 134.5 kB / 0.8267 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.954e-05/1.12, allocations: 32.17 kB / 0.8267 GB, free: 8.453 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.0003503/1.12, allocations: 228.6 kB / 0.8269 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/1.12, allocations: 101.1 kB / 0.827 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003849/1.124, allocations: 1.363 MB / 0.8284 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/1.124, allocations: 8.438 kB / 0.8284 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/1.124, allocations: 7.922 kB / 0.8284 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/1.124, allocations: 0 / 0.8284 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005617/1.13, allocations: 2.857 MB / 0.8312 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/1.13, allocations: 4 kB / 0.8312 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001256/1.131, allocations: 237.8 kB / 0.8314 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.327e-05/1.131, allocations: 15.97 kB / 0.8314 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.366e-05/1.131, allocations: 19.98 kB / 0.8314 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006282/1.132, allocations: 1.194 MB / 0.8326 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/1.132, allocations: 4 kB / 0.8326 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003436/1.135, allocations: 1.463 MB / 0.834 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005529/1.136, allocations: 319.5 kB / 0.8343 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/1.136, allocations: 15.98 kB / 0.8344 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/1.137, allocations: 111.9 kB / 0.8345 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/1.137, allocations: 59.61 kB / 0.8345 GB, free: 2.012 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.162e-05/1.137, allocations: 35.97 kB / 0.8346 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008926/1.138, allocations: 0.57 MB / 0.8351 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.61e-07/1.138, allocations: 3.938 kB / 0.8351 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001578/1.14, allocations: 0.5379 MB / 0.8356 GB, free: 0.8516 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.0006984/1.14, allocations: 278.9 kB / 0.8359 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005956/1.146, allocations: 2.125 MB / 0.838 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/1.146, allocations: 4.062 kB / 0.838 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001795/1.148, allocations: 0.6659 MB / 0.8386 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00293/1.151, allocations: 0.4965 MB / 0.8391 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005109/1.156, allocations: 2.166 MB / 0.8412 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008246/1.157, allocations: 1.094 MB / 0.8423 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005443/1.158, allocations: 95.39 kB / 0.8424 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of SimCode: time 6.71e-07/1.158, allocations: 0 / 0.8424 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of Templates: time 0.03677/1.194, allocations: 26.74 MB / 0.8685 GB, free: 15.32 MB / 0.6387 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)