Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.HeaterCooler_u.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.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 108.3 kB / 16.41 MB, free: 6.52 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.001113/0.001113, allocations: 186.7 kB / 17.35 MB, free: 5.734 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.335/1.335, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002178/0.002178, allocations: 291.8 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.9484/0.9484, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001804, allocations: 95.84 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4365/0.4383, allocations: 86.97 MB / 0.767 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 0.6367/1.075, allocations: 255.8 MB / 1.017 GB, free: 16.53 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01383/1.089, allocations: 9.593 MB / 1.026 GB, free: 16.34 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002259/1.091, allocations: 73.62 kB / 1.026 GB, free: 16.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002202/1.093, allocations: 1.005 MB / 1.027 GB, free: 16.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006847/1.1, allocations: 2.763 MB / 1.03 GB, free: 16.21 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005437/1.106, allocations: 2.17 MB / 1.032 GB, free: 16.14 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005516/1.111, allocations: 4.158 MB / 1.036 GB, free: 16.06 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001908/1.113, allocations: 1.577 MB / 1.038 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003549/1.117, allocations: 2.036 MB / 1.04 GB, free: 15.58 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002162/1.119, allocations: 1.289 MB / 1.041 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002574/1.119, allocations: 179.7 kB / 1.041 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005682/1.125, allocations: 3.155 MB / 1.044 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005827/1.126, allocations: 0.594 MB / 1.045 GB, free: 14.22 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00108/1.127, allocations: 1.031 MB / 1.046 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005139/1.132, allocations: 3.699 MB / 1.049 GB, free: 12.44 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/1.132, allocations: 0 / 1.049 GB, free: 12.44 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.254e-06/1.132, allocations: 0 / 1.049 GB, free: 12.44 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.593e-05/1.132, allocations: 2.625 kB / 1.049 GB, free: 12.44 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.003619/1.135, allocations: 2.471 MB / 1.052 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/1.135, allocations: 8.406 kB / 1.052 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003652/1.139, allocations: 0.629 MB / 1.052 GB, free: 10.42 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002337/1.141, allocations: 1.446 MB / 1.054 GB, free: 9.383 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.255e-05/1.142, allocations: 93.58 kB / 1.054 GB, free: 9.34 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/1.142, allocations: 127.3 kB / 1.054 GB, free: 9.297 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002221/1.144, allocations: 1.418 MB / 1.055 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/1.144, allocations: 2.406 kB / 1.055 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/1.144, allocations: 49.25 kB / 1.055 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.905e-05/1.144, allocations: 40.72 kB / 1.056 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002189/1.146, allocations: 1.19 MB / 1.057 GB, free: 7.793 MB / 0.7169 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.006242/1.153, allocations: 5.682 MB / 1.062 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/1.154, allocations: 1.034 MB / 1.063 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000847/1.155, allocations: 0.5292 MB / 1.064 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004985/1.156, allocations: 315.5 kB / 1.064 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000985/1.157, allocations: 0.5618 MB / 1.065 GB, free: 472 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=85): time 2.855e-06/1.157, allocations: 0 / 1.065 GB, free: 472 kB / 0.7169 GB Notification: Performance of matching and sorting (n=92): time 0.008005/1.165, allocations: 3.518 MB / 1.068 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/1.165, allocations: 90.11 kB / 1.068 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/1.166, allocations: 1.35 MB / 1.069 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.549e-05/1.167, allocations: 45.7 kB / 1.069 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005983/1.167, allocations: 0.727 MB / 1.07 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002802/1.167, allocations: 316 kB / 1.071 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003186/1.168, allocations: 190.5 kB / 1.071 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.168, allocations: 341.9 kB / 1.071 GB, free: 9.77 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/1.169, allocations: 463.1 kB / 1.071 GB, free: 9.316 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001197/1.17, allocations: 0.6463 MB / 1.072 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01351/1.184, allocations: 3.323 MB / 1.075 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/1.184, allocations: 4 kB / 1.075 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00337/1.187, allocations: 1.518 MB / 1.077 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.882e-05/1.187, allocations: 40.83 kB / 1.077 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/1.187, allocations: 4 kB / 1.077 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007516/1.188, allocations: 225.4 kB / 1.077 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008964/1.189, allocations: 202.1 kB / 1.077 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004304/1.193, allocations: 4.583 MB / 1.082 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/1.194, allocations: 67.94 kB / 1.082 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.129e-05/1.195, allocations: 44 kB / 1.082 GB, free: 14.25 MB / 0.7481 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001602/1.196, allocations: 0.774 MB / 1.083 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001203/1.197, allocations: 0.6463 MB / 1.083 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01315/1.211, allocations: 3.274 MB / 1.086 GB, free: 9.402 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.078e-06/1.211, allocations: 4 kB / 1.086 GB, free: 9.398 MB / 0.7481 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.003201/1.214, allocations: 1.488 MB / 1.088 GB, free: 7.914 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.91e-05/1.214, allocations: 41.64 kB / 1.088 GB, free: 7.867 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/1.214, allocations: 4 kB / 1.088 GB, free: 7.863 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005136/1.214, allocations: 201.4 kB / 1.088 GB, free: 7.66 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000904/1.215, allocations: 200.6 kB / 1.088 GB, free: 7.477 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005165/1.221, allocations: 5.768 MB / 1.094 GB, free: 1.312 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/1.222, allocations: 72.14 kB / 1.094 GB, free: 1.242 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.2e-05/1.222, allocations: 43.98 kB / 1.094 GB, free: 1.199 MB / 0.7481 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 9 (TSet.nextEventScaled,TSet.nextEvent,$PRE.TSet.nextEvent,TSet.last,TSet.b,TSet.a,$whenCondition1,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 99 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,8), (1,2), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003446/1.222, allocations: 280.3 kB / 1.094 GB, free: 0.9258 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002919/1.223, allocations: 162 kB / 1.094 GB, free: 0.7656 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002797/1.225, allocations: 1.291 MB / 1.096 GB, free: 15.46 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00218/1.228, allocations: 1.144 MB / 1.097 GB, free: 14.28 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/1.228, allocations: 0 / 1.097 GB, free: 14.28 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007093/1.228, allocations: 343 kB / 1.097 GB, free: 13.92 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002574/1.229, allocations: 28 kB / 1.097 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/1.23, allocations: 64.69 kB / 1.097 GB, free: 13.83 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/1.23, allocations: 56.92 kB / 1.097 GB, free: 13.78 MB / 0.7637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003141/1.233, allocations: 1.353 MB / 1.099 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003521/1.236, allocations: 1.954 MB / 1.101 GB, free: 10.43 MB / 0.7637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001013/1.238, allocations: 0.5256 MB / 1.101 GB, free: 9.91 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001336/1.239, allocations: 0.9138 MB / 1.102 GB, free: 9 MB / 0.7637 GB Notification: Performance of Backend: time 4.41e-07/1.239, allocations: 8 kB / 1.102 GB, free: 8.992 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.006038/1.245, allocations: 2.803 MB / 1.105 GB, free: 6.195 MB / 0.7637 GB Notification: Performance of SimCode: time 0.006536/1.251, allocations: 3.864 MB / 1.108 GB, free: 2.293 MB / 0.7637 GB Notification: Performance of Templates: time 0.06584/1.317, allocations: 42.41 MB / 1.15 GB, free: 8.383 MB / 0.8106 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)