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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7965/0.7965, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 186.6 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 221.3 MB / 441.4 MB, free: 4.609 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008859/0.0008858, allocations: 95.16 kB / 0.5124 GB, free: 24.27 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001761/0.001761, allocations: 282 kB / 0.5939 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.328e-05/3.334e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5174/0.5174, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.519/6.037, allocations: 1.892 GB / 2.656 GB, free: 114.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/6.037, allocations: 86.2 kB / 2.656 GB, free: 114.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.267/10.3, allocations: 1.05 GB / 3.706 GB, free: 95.99 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.067e-06/10.3, allocations: 3.531 kB / 3.706 GB, free: 95.99 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001896/10.3, allocations: 45.25 kB / 3.706 GB, free: 95.98 MB / 0.7136 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.005978/10.31, allocations: 2.066 MB / 3.708 GB, free: 94.97 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/10.31, allocations: 7.75 kB / 3.708 GB, free: 94.97 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004442/10.31, allocations: 0.6272 MB / 3.708 GB, free: 94.86 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004121/10.32, allocations: 1.428 MB / 3.71 GB, free: 94.46 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003827/10.32, allocations: 158.4 kB / 3.71 GB, free: 94.45 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002617/10.32, allocations: 126.8 kB / 3.71 GB, free: 94.45 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002589/10.32, allocations: 1.348 MB / 3.711 GB, free: 94.25 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.145e-05/10.32, allocations: 0 / 3.711 GB, free: 94.25 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/10.32, allocations: 50.5 kB / 3.711 GB, free: 94.25 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.486e-05/10.32, allocations: 38.75 kB / 3.711 GB, free: 94.24 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/10.32, allocations: 1.052 MB / 3.712 GB, free: 94.23 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or 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.009248/10.33, allocations: 5.883 MB / 3.718 GB, free: 91.86 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/10.33, allocations: 0.9717 MB / 3.719 GB, free: 91.63 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006399/10.34, allocations: 493.5 kB / 3.72 GB, free: 91.62 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005499/10.34, allocations: 313.2 kB / 3.72 GB, free: 91.34 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008354/10.34, allocations: 0.5297 MB / 3.72 GB, free: 91.25 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=87): time 3.607e-06/10.34, allocations: 0 / 3.72 GB, free: 91.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=95): time 0.007255/10.34, allocations: 3.051 MB / 3.723 GB, free: 90.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.636e-05/10.34, allocations: 195.8 kB / 3.724 GB, free: 90.28 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001885/10.35, allocations: 1.142 MB / 3.725 GB, free: 90.12 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001445/10.35, allocations: 45.67 kB / 3.725 GB, free: 90.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006474/10.35, allocations: 0.7263 MB / 3.725 GB, free: 89.86 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003085/10.35, allocations: 323.8 kB / 3.726 GB, free: 89.66 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.384e-05/10.35, allocations: 15.69 kB / 3.726 GB, free: 89.66 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001069/10.35, allocations: 343.5 kB / 3.726 GB, free: 89.35 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005918/10.35, allocations: 384 kB / 3.726 GB, free: 89.35 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000793/10.35, allocations: 0.6122 MB / 3.727 GB, free: 89.12 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01012/10.36, allocations: 2.371 MB / 3.729 GB, free: 88.93 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/10.36, allocations: 0 / 3.729 GB, free: 88.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004203/10.36, allocations: 1.662 MB / 3.731 GB, free: 88.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004183/10.36, allocations: 1.307 MB / 3.732 GB, free: 87.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/10.36, allocations: 2.469 kB / 3.732 GB, free: 87.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/10.36, allocations: 424.8 kB / 3.733 GB, free: 87.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007281/10.37, allocations: 177.7 kB / 3.733 GB, free: 87.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006756/10.37, allocations: 6.884 MB / 3.74 GB, free: 82.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002289/10.37, allocations: 142.1 kB / 3.74 GB, free: 82.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001561/10.37, allocations: 40.66 kB / 3.74 GB, free: 82.19 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/10.37, allocations: 3.531 kB / 3.74 GB, free: 82.19 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003442/10.38, allocations: 1.505 MB / 3.741 GB, free: 81.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/10.38, allocations: 9.266 kB / 3.741 GB, free: 81.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009725/10.38, allocations: 420.8 kB / 3.742 GB, free: 81.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006885/10.38, allocations: 170.1 kB / 3.742 GB, free: 81.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007691/10.39, allocations: 7.886 MB / 3.749 GB, free: 74.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00243/10.39, allocations: 150.5 kB / 3.75 GB, free: 74.83 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/10.39, allocations: 37.34 kB / 3.75 GB, free: 74.82 MB / 0.7136 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 11,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004376/10.39, allocations: 193.8 kB / 3.75 GB, free: 74.65 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003864/10.39, allocations: 169.3 kB / 3.75 GB, free: 74.56 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003528/10.39, allocations: 1.465 MB / 3.751 GB, free: 73.98 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/10.39, allocations: 7.531 kB / 3.751 GB, free: 73.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/10.39, allocations: 6.562 kB / 3.751 GB, free: 73.98 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00258/10.4, allocations: 1.321 MB / 3.753 GB, free: 73.41 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006505/10.4, allocations: 3.336 MB / 3.756 GB, free: 71.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.447e-06/10.4, allocations: 4 kB / 3.756 GB, free: 71.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008808/10.4, allocations: 188.6 kB / 3.756 GB, free: 71.65 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004697/10.41, allocations: 211 kB / 3.756 GB, free: 71.48 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.693e-05/10.41, allocations: 27.23 kB / 3.756 GB, free: 71.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002565/10.41, allocations: 2.491 MB / 3.759 GB, free: 68.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/10.41, allocations: 11.94 kB / 3.759 GB, free: 68.96 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004271/10.41, allocations: 2.408 MB / 3.761 GB, free: 66.59 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001261/10.41, allocations: 372.6 kB / 3.762 GB, free: 66.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002497/10.41, allocations: 29.69 kB / 3.762 GB, free: 66.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/10.42, allocations: 136.8 kB / 3.762 GB, free: 66.13 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/10.42, allocations: 76.22 kB / 3.762 GB, free: 66.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.568e-05/10.42, allocations: 37.48 kB / 3.762 GB, free: 66.05 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001393/10.42, allocations: 0.8947 MB / 3.763 GB, free: 65.24 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/10.42, allocations: 0 / 3.763 GB, free: 65.24 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00404/10.42, allocations: 1.02 MB / 3.764 GB, free: 64.24 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.X[2],heaDyn.vol.dynBal.medium.dT,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004157/10.43, allocations: 2.364 MB / 3.766 GB, free: 62.37 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004085/10.43, allocations: 2.713 MB / 3.769 GB, free: 59.7 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/10.43, allocations: 0 / 3.769 GB, free: 59.7 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009875/10.43, allocations: 0.7018 MB / 3.769 GB, free: 59.02 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004638/10.43, allocations: 0.8699 MB / 3.77 GB, free: 58.38 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005518/10.44, allocations: 2.616 MB / 3.773 GB, free: 55.97 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008285/10.44, allocations: 1.389 MB / 3.774 GB, free: 54.81 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002308/10.44, allocations: 495.5 kB / 3.775 GB, free: 54.46 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/10.44, allocations: 87.28 kB / 3.775 GB, free: 54.39 MB / 0.7136 GB Notification: Performance of SimCode: time 1.633e-06/10.44, allocations: 0 / 3.775 GB, free: 54.39 MB / 0.7136 GB Notification: Performance of Templates: time 0.1024/10.55, allocations: 70.69 MB / 3.844 GB, free: 2.191 MB / 0.7292 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)