Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") translateModel(IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 106.4 kB / 16.27 MB, free: 6.41 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.001152/0.001152, allocations: 186.7 kB / 17.2 MB, free: 5.953 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.362/1.362, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7964/0.7964, allocations: 126.1 MB / 417.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 67.91 kB / 0.495 GB, free: 3.523 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3718, allocations: 78.69 MB / 0.5718 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.6616/1.033, allocations: 214.2 MB / 0.781 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01161/1.045, allocations: 7.05 MB / 0.7879 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002054/1.047, allocations: 47.27 kB / 0.7879 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002028/1.049, allocations: 0.7827 MB / 0.7887 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006656/1.056, allocations: 2.522 MB / 0.7911 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003128/1.059, allocations: 1.155 MB / 0.7923 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003562/1.063, allocations: 2.827 MB / 0.795 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001516/1.064, allocations: 1.08 MB / 0.7961 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00437/1.069, allocations: 1.984 MB / 0.798 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002029/1.071, allocations: 0.9408 MB / 0.7989 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002259/1.071, allocations: 117.6 kB / 0.799 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005214/1.076, allocations: 2.447 MB / 0.8014 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005833/1.077, allocations: 422.9 kB / 0.8018 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009138/1.078, allocations: 0.6863 MB / 0.8025 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004445/1.082, allocations: 2.461 MB / 0.8049 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/1.082, allocations: 3.375 kB / 0.8049 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.783e-06/1.082, allocations: 3.969 kB / 0.8049 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.098e-05/1.082, allocations: 2.094 kB / 0.8049 GB, free: 0.6836 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.004537/1.087, allocations: 1.847 MB / 0.8067 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/1.087, allocations: 6.812 kB / 0.8067 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00314/1.09, allocations: 0.5358 MB / 0.8072 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001875/1.092, allocations: 0.9596 MB / 0.8082 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006388/1.092, allocations: 182.1 kB / 0.8084 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001622/1.093, allocations: 88.95 kB / 0.8084 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002685/1.095, allocations: 1.231 MB / 0.8096 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/1.095, allocations: 0 / 0.8096 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/1.095, allocations: 34.02 kB / 0.8097 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.862e-05/1.095, allocations: 47.64 kB / 0.8097 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003764/1.099, allocations: 1.547 MB / 0.8112 GB, free: 15.27 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.006776/1.106, allocations: 4.08 MB / 0.8152 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002483/1.109, allocations: 1.001 MB / 0.8162 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001495/1.11, allocations: 0.668 MB / 0.8168 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001109/1.111, allocations: 0.6084 MB / 0.8174 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/1.111, allocations: 46.39 kB / 0.8175 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 3.125e-06/1.111, allocations: 0 / 0.8175 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.00488/1.116, allocations: 1.816 MB / 0.8193 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/1.116, allocations: 57.66 kB / 0.8193 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/1.117, allocations: 0.8251 MB / 0.8201 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001115/1.117, allocations: 44.36 kB / 0.8202 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003497/1.118, allocations: 445 kB / 0.8206 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002276/1.118, allocations: 262.3 kB / 0.8208 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002834/1.118, allocations: 153.2 kB / 0.821 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001347/1.118, allocations: 331.4 kB / 0.8213 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001435/1.12, allocations: 0.5418 MB / 0.8218 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001579/1.121, allocations: 0.6493 MB / 0.8225 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003157/1.125, allocations: 1.138 MB / 0.8236 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.125, allocations: 0 / 0.8236 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003453/1.128, allocations: 1.344 MB / 0.8249 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.113e-05/1.128, allocations: 37.8 kB / 0.8249 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/1.128, allocations: 0 / 0.8249 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/1.128, allocations: 9.219 kB / 0.8249 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/1.13, allocations: 256.3 kB / 0.8252 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007138/1.131, allocations: 1.189 MB / 0.8263 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/1.132, allocations: 150 kB / 0.8265 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.894e-05/1.132, allocations: 30.95 kB / 0.8265 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001863/1.134, allocations: 0.7592 MB / 0.8273 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001516/1.135, allocations: 0.6491 MB / 0.8279 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002814/1.138, allocations: 1.127 MB / 0.829 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.386e-06/1.138, allocations: 0 / 0.829 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.003328/1.141, allocations: 1.337 MB / 0.8303 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.963e-05/1.141, allocations: 38.91 kB / 0.8303 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/1.141, allocations: 2.406 kB / 0.8303 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.414e-06/1.141, allocations: 2.875 kB / 0.8303 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/1.143, allocations: 231.7 kB / 0.8306 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/1.143, allocations: 4.5 kB / 0.8306 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/1.144, allocations: 136.7 kB / 0.8307 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-05/1.144, allocations: 35.62 kB / 0.8307 GB, free: 6.941 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.0003274/1.144, allocations: 231.2 kB / 0.8309 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/1.144, allocations: 99.44 kB / 0.831 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003517/1.148, allocations: 1.372 MB / 0.8324 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/1.148, allocations: 4 kB / 0.8324 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/1.148, allocations: 4 kB / 0.8324 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/1.148, allocations: 7.922 kB / 0.8324 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005505/1.154, allocations: 2.852 MB / 0.8352 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/1.154, allocations: 4 kB / 0.8352 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/1.155, allocations: 237.7 kB / 0.8354 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-05/1.155, allocations: 4 kB / 0.8354 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.53e-05/1.155, allocations: 23.98 kB / 0.8354 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005762/1.155, allocations: 1.191 MB / 0.8366 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/1.156, allocations: 15.28 kB / 0.8366 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003343/1.159, allocations: 1.462 MB / 0.838 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004951/1.159, allocations: 307.6 kB / 0.8383 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/1.16, allocations: 20 kB / 0.8384 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/1.161, allocations: 107.9 kB / 0.8385 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/1.161, allocations: 67.61 kB / 0.8385 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.001e-05/1.161, allocations: 35.97 kB / 0.8386 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007651/1.162, allocations: 0.5674 MB / 0.8391 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/1.162, allocations: 3.938 kB / 0.8391 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001443/1.163, allocations: 0.5418 MB / 0.8396 GB, free: 14.15 MB / 0.6075 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/1.164, allocations: 275.3 kB / 0.8399 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005609/1.169, allocations: 2.133 MB / 0.842 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/1.169, allocations: 0 / 0.842 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00176/1.171, allocations: 0.6699 MB / 0.8426 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00266/1.174, allocations: 0.4952 MB / 0.8431 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004786/1.179, allocations: 2.107 MB / 0.8452 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008901/1.18, allocations: 1.091 MB / 0.8462 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001821/1.181, allocations: 390.6 kB / 0.8466 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004013/1.182, allocations: 91.39 kB / 0.8467 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of SimCode: time 1.162e-06/1.182, allocations: 0 / 0.8467 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of Templates: time 0.03601/1.218, allocations: 20.95 MB / 0.8672 GB, free: 2.324 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1)