Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") translateModel(BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001082/0.001082, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001024/0.001024, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.289/1.289, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002056/0.002056, allocations: 289.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9314/0.9314, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 95.84 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4027/0.4046, allocations: 86.98 MB / 0.767 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.5948/0.9994, allocations: 214.2 MB / 0.9762 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01088/1.01, allocations: 7.041 MB / 0.9831 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001837/1.012, allocations: 43.81 kB / 0.9831 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001705/1.014, allocations: 0.8113 MB / 0.9839 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005477/1.019, allocations: 2.632 MB / 0.9865 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002725/1.022, allocations: 1.173 MB / 0.9876 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003227/1.025, allocations: 2.84 MB / 0.9904 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001295/1.027, allocations: 1.086 MB / 0.9915 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003751/1.03, allocations: 2.055 MB / 0.9935 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001703/1.032, allocations: 0.9451 MB / 0.9944 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001705/1.032, allocations: 118.4 kB / 0.9945 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004448/1.037, allocations: 2.456 MB / 0.9969 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003956/1.037, allocations: 431.9 kB / 0.9973 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007147/1.038, allocations: 0.6839 MB / 0.998 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003439/1.041, allocations: 2.503 MB / 1 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.041, allocations: 3.094 kB / 1 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.273e-06/1.041, allocations: 0 / 1 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.962e-05/1.041, allocations: 0 / 1 GB, free: 1.172 MB / 0.7169 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.004159/1.046, allocations: 1.848 MB / 1.002 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/1.046, allocations: 12.27 kB / 1.002 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003057/1.049, allocations: 0.5358 MB / 1.003 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001776/1.051, allocations: 1.004 MB / 1.004 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.991e-05/1.051, allocations: 70.59 kB / 1.004 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/1.051, allocations: 81.22 kB / 1.004 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002503/1.053, allocations: 1.226 MB / 1.005 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/1.053, allocations: 0 / 1.005 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/1.053, allocations: 33.83 kB / 1.005 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.833e-05/1.053, allocations: 45.75 kB / 1.005 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00328/1.057, allocations: 1.528 MB / 1.007 GB, free: 15.76 MB / 0.7325 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.005781/1.063, allocations: 4.034 MB / 1.011 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/1.065, allocations: 0.9687 MB / 1.012 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001478/1.066, allocations: 0.6523 MB / 1.012 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/1.067, allocations: 0.6115 MB / 1.013 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/1.067, allocations: 47.84 kB / 1.013 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 4.679e-06/1.067, allocations: 3.984 kB / 1.013 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.004691/1.072, allocations: 1.779 MB / 1.015 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/1.072, allocations: 61.38 kB / 1.015 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008992/1.073, allocations: 0.8217 MB / 1.015 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/1.073, allocations: 47.67 kB / 1.015 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002956/1.073, allocations: 445.8 kB / 1.016 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002031/1.074, allocations: 259.7 kB / 1.016 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002693/1.074, allocations: 152.7 kB / 1.016 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001732/1.074, allocations: 334.1 kB / 1.017 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001322/1.075, allocations: 0.5314 MB / 1.017 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/1.077, allocations: 0.6402 MB / 1.018 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002625/1.079, allocations: 1.115 MB / 1.019 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.079, allocations: 6.281 kB / 1.019 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003098/1.083, allocations: 1.327 MB / 1.02 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.336e-05/1.083, allocations: 40.3 kB / 1.02 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/1.083, allocations: 0 / 1.02 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/1.083, allocations: 3.25 kB / 1.02 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/1.084, allocations: 254.1 kB / 1.02 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000753/1.085, allocations: 1.193 MB / 1.022 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/1.086, allocations: 146 kB / 1.022 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.021e-05/1.086, allocations: 35.69 kB / 1.022 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001644/1.088, allocations: 0.7461 MB / 1.023 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00138/1.089, allocations: 0.6383 MB / 1.023 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002547/1.092, allocations: 1.117 MB / 1.024 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.004e-06/1.092, allocations: 0 / 1.024 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.003093/1.095, allocations: 1.307 MB / 1.026 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.945e-05/1.095, allocations: 43 kB / 1.026 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/1.095, allocations: 5.188 kB / 1.026 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.183e-06/1.095, allocations: 3.438 kB / 1.026 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/1.096, allocations: 222.6 kB / 1.026 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/1.096, allocations: 4.844 kB / 1.026 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/1.097, allocations: 137.8 kB / 1.026 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.595e-05/1.097, allocations: 36.08 kB / 1.026 GB, free: 10.39 MB / 0.7325 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.0002955/1.098, allocations: 223.9 kB / 1.026 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002055/1.098, allocations: 102.3 kB / 1.026 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003342/1.101, allocations: 1.34 MB / 1.028 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/1.101, allocations: 2.953 kB / 1.028 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/1.101, allocations: 7.031 kB / 1.028 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005378/1.102, allocations: 312.1 kB / 1.028 GB, free: 9.898 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/1.102, allocations: 12.28 kB / 1.028 GB, free: 9.898 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/1.103, allocations: 101.8 kB / 1.028 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/1.103, allocations: 49.09 kB / 1.028 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003624/1.107, allocations: 1.349 MB / 1.029 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004347/1.111, allocations: 2.105 MB / 1.031 GB, free: 9.418 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001324/1.112, allocations: 0.5566 MB / 1.032 GB, free: 9.402 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000744/1.113, allocations: 0.5721 MB / 1.032 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of Backend: time 6.71e-07/1.113, allocations: 4 kB / 1.032 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005459/1.119, allocations: 2.029 MB / 1.034 GB, free: 8.754 MB / 0.7325 GB Notification: Performance of SimCode: time 0.003497/1.122, allocations: 2.26 MB / 1.037 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of Templates: time 0.04561/1.168, allocations: 30.14 MB / 1.066 GB, free: 11.26 MB / 0.7637 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1)