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.001658/0.001658, allocations: 115.5 kB / 16.42 MB, free: 5.988 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.001655/0.001655, allocations: 184.5 kB / 17.35 MB, free: 5.602 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.318/1.318, 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.00218/0.00218, allocations: 285 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9305/0.9305, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 95.84 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.4, allocations: 86.98 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 0.6306/1.031, allocations: 255.8 MB / 1.017 GB, free: 16.53 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01348/1.044, allocations: 9.587 MB / 1.026 GB, free: 16.34 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002748/1.047, allocations: 77.84 kB / 1.026 GB, free: 16.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002374/1.049, allocations: 0.9673 MB / 1.027 GB, free: 16.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006465/1.056, allocations: 2.65 MB / 1.03 GB, free: 16.22 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005169/1.061, allocations: 2.15 MB / 1.032 GB, free: 16.15 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005296/1.066, allocations: 4.154 MB / 1.036 GB, free: 16.07 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00209/1.068, allocations: 1.576 MB / 1.038 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003749/1.072, allocations: 2.001 MB / 1.039 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002383/1.075, allocations: 1.29 MB / 1.041 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000272/1.075, allocations: 179.4 kB / 1.041 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005422/1.08, allocations: 3.143 MB / 1.044 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005585/1.081, allocations: 0.5917 MB / 1.045 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001129/1.082, allocations: 1.037 MB / 1.046 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005679/1.088, allocations: 3.691 MB / 1.049 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/1.088, allocations: 1.312 kB / 1.049 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.733e-06/1.088, allocations: 0 / 1.049 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.597e-05/1.088, allocations: 0 / 1.049 GB, free: 12.57 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.003777/1.092, allocations: 2.475 MB / 1.052 GB, free: 10.85 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/1.092, allocations: 7.688 kB / 1.052 GB, free: 10.85 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003736/1.095, allocations: 0.6286 MB / 1.052 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002246/1.098, allocations: 1.447 MB / 1.054 GB, free: 9.523 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.977e-05/1.098, allocations: 100.9 kB / 1.054 GB, free: 9.477 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/1.098, allocations: 120.3 kB / 1.054 GB, free: 9.438 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002264/1.1, allocations: 1.421 MB / 1.055 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/1.1, allocations: 0 / 1.055 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/1.1, allocations: 49.28 kB / 1.055 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.745e-05/1.1, allocations: 41.88 kB / 1.055 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002294/1.103, allocations: 1.196 MB / 1.056 GB, free: 7.926 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.006328/1.109, allocations: 5.678 MB / 1.062 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/1.111, allocations: 1.025 MB / 1.063 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008673/1.112, allocations: 0.5356 MB / 1.064 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005175/1.112, allocations: 316.8 kB / 1.064 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009921/1.113, allocations: 0.5618 MB / 1.064 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=85): time 3.436e-06/1.113, allocations: 0 / 1.064 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of matching and sorting (n=92): time 0.008128/1.121, allocations: 3.514 MB / 1.068 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/1.121, allocations: 94.11 kB / 1.068 GB, free: 13 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001798/1.123, allocations: 1.35 MB / 1.069 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.96e-05/1.123, allocations: 41.7 kB / 1.069 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006458/1.124, allocations: 0.7251 MB / 1.07 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002838/1.124, allocations: 319 kB / 1.07 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003174/1.124, allocations: 189.9 kB / 1.07 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001383/1.125, allocations: 349.9 kB / 1.071 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/1.126, allocations: 456.6 kB / 1.071 GB, free: 9.57 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/1.127, allocations: 0.6464 MB / 1.072 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01324/1.14, allocations: 3.327 MB / 1.075 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.14, allocations: 4 kB / 1.075 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003322/1.143, allocations: 1.507 MB / 1.077 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.371e-05/1.143, allocations: 40.52 kB / 1.077 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/1.143, allocations: 4 kB / 1.077 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007366/1.144, allocations: 235.5 kB / 1.077 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009196/1.145, allocations: 198 kB / 1.077 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00403/1.149, allocations: 4.594 MB / 1.082 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/1.151, allocations: 67.94 kB / 1.082 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.437e-05/1.151, allocations: 36 kB / 1.082 GB, free: 14.5 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.001532/1.152, allocations: 0.7637 MB / 1.082 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001121/1.153, allocations: 0.6503 MB / 1.083 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0131/1.166, allocations: 3.278 MB / 1.086 GB, free: 9.656 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.128e-06/1.166, allocations: 0 / 1.086 GB, free: 9.656 MB / 0.7481 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.003163/1.17, allocations: 1.488 MB / 1.088 GB, free: 8.172 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/1.17, allocations: 41.64 kB / 1.088 GB, free: 8.125 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/1.17, allocations: 4 kB / 1.088 GB, free: 8.121 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000484/1.17, allocations: 201.3 kB / 1.088 GB, free: 7.918 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000892/1.171, allocations: 198.1 kB / 1.088 GB, free: 7.734 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004716/1.176, allocations: 5.775 MB / 1.094 GB, free: 1.562 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/1.177, allocations: 74.03 kB / 1.094 GB, free: 1.492 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.899e-05/1.177, allocations: 39.98 kB / 1.094 GB, free: 1.453 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.0003211/1.178, allocations: 275.1 kB / 1.094 GB, free: 1.184 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002194/1.178, allocations: 162 kB / 1.094 GB, free: 1.023 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002668/1.181, allocations: 1.294 MB / 1.096 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002153/1.183, allocations: 1.146 MB / 1.097 GB, free: 14.53 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/1.183, allocations: 0 / 1.097 GB, free: 14.53 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005965/1.183, allocations: 342.9 kB / 1.097 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002044/1.184, allocations: 26.53 kB / 1.097 GB, free: 14.15 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009942/1.185, allocations: 62.92 kB / 1.097 GB, free: 14.09 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/1.185, allocations: 56.92 kB / 1.097 GB, free: 14.04 MB / 0.7637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003225/1.188, allocations: 1.357 MB / 1.098 GB, free: 12.67 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00365/1.192, allocations: 1.96 MB / 1.1 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001066/1.193, allocations: 0.5153 MB / 1.101 GB, free: 10.17 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001338/1.194, allocations: 0.9177 MB / 1.102 GB, free: 9.254 MB / 0.7637 GB Notification: Performance of Backend: time 5.11e-07/1.194, allocations: 4 kB / 1.102 GB, free: 9.25 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00628/1.2, allocations: 2.811 MB / 1.105 GB, free: 6.453 MB / 0.7637 GB Notification: Performance of SimCode: time 0.006719/1.207, allocations: 3.86 MB / 1.108 GB, free: 2.543 MB / 0.7637 GB Notification: Performance of Templates: time 0.06357/1.271, allocations: 42.43 MB / 1.15 GB, free: 8.637 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)