Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009292/0.0009293, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4909/0.4909, allocations: 90.91 MB / 99.34 MB, free: 2.188 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 221.5 MB / 343.2 MB, free: 1.578 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008285/0.0008285, allocations: 106.2 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.774e-05/1.774e-05, allocations: 4 kB / 494.5 MB, free: 52.4 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1392, allocations: 72.31 MB / 0.5535 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.642/4.781, allocations: 1.884 GB / 2.438 GB, free: 20.48 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/4.781, allocations: 88.33 kB / 2.438 GB, free: 20.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.918/8.699, allocations: 1.039 GB / 3.477 GB, free: 75.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.573e-06/8.7, allocations: 0 / 3.477 GB, free: 75.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001555/8.7, allocations: 49.17 kB / 3.477 GB, free: 75.51 MB / 0.6198 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.004478/8.704, allocations: 2.069 MB / 3.479 GB, free: 74.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/8.704, allocations: 11.72 kB / 3.479 GB, free: 74.55 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003687/8.708, allocations: 0.6225 MB / 3.48 GB, free: 74.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003318/8.711, allocations: 1.435 MB / 3.481 GB, free: 74.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003506/8.712, allocations: 122.1 kB / 3.481 GB, free: 74.08 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000222/8.712, allocations: 69.12 kB / 3.481 GB, free: 74.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001975/8.714, allocations: 0.9887 MB / 3.482 GB, free: 74.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002077/8.716, allocations: 1.185 MB / 3.483 GB, free: 73.87 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.927e-05/8.716, allocations: 0 / 3.483 GB, free: 73.87 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.793e-05/8.716, allocations: 6.094 kB / 3.483 GB, free: 73.87 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.263e-05/8.716, allocations: 42.83 kB / 3.483 GB, free: 73.87 MB / 0.6198 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.00776/8.724, allocations: 5.634 MB / 3.489 GB, free: 71.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/8.725, allocations: 0.9472 MB / 3.49 GB, free: 71.35 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000555/8.726, allocations: 465.5 kB / 3.49 GB, free: 71.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005248/8.726, allocations: 312.9 kB / 3.491 GB, free: 71.06 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006739/8.727, allocations: 0.5113 MB / 3.491 GB, free: 70.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=87): time 3.347e-06/8.727, allocations: 2.5 kB / 3.491 GB, free: 70.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=94): time 0.007/8.734, allocations: 2.933 MB / 3.494 GB, free: 70.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/8.734, allocations: 194.9 kB / 3.494 GB, free: 70.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001897/8.736, allocations: 0.9126 MB / 3.495 GB, free: 69.97 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001367/8.736, allocations: 29.2 kB / 3.495 GB, free: 69.94 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009826/8.737, allocations: 0.7292 MB / 3.496 GB, free: 69.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004313/8.738, allocations: 314.3 kB / 3.496 GB, free: 69.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-05/8.738, allocations: 0 / 3.496 GB, free: 69.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001832/8.738, allocations: 336.1 kB / 3.496 GB, free: 69.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006931/8.739, allocations: 369.4 kB / 3.497 GB, free: 69.17 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008493/8.739, allocations: 0.5725 MB / 3.497 GB, free: 68.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004392/8.744, allocations: 1.328 MB / 3.499 GB, free: 68.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/8.744, allocations: 0 / 3.499 GB, free: 68.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.004022/8.748, allocations: 1.575 MB / 3.5 GB, free: 68.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003364/8.748, allocations: 1.289 MB / 3.501 GB, free: 67.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/8.748, allocations: 3.219 kB / 3.501 GB, free: 67.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009142/8.749, allocations: 391 kB / 3.502 GB, free: 67.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007138/8.75, allocations: 177 kB / 3.502 GB, free: 67.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005989/8.756, allocations: 6.33 MB / 3.508 GB, free: 63.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/8.758, allocations: 124.4 kB / 3.508 GB, free: 63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/8.758, allocations: 43.25 kB / 3.508 GB, free: 63 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.908e-06/8.758, allocations: 2.875 kB / 3.508 GB, free: 63 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003341/8.761, allocations: 1.413 MB / 3.51 GB, free: 62.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/8.761, allocations: 3.75 kB / 3.51 GB, free: 62.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008743/8.762, allocations: 388.1 kB / 3.51 GB, free: 62.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006986/8.763, allocations: 177.7 kB / 3.51 GB, free: 62.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006421/8.769, allocations: 7.274 MB / 3.517 GB, free: 57.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/8.771, allocations: 123.3 kB / 3.517 GB, free: 57.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/8.771, allocations: 32.81 kB / 3.517 GB, free: 57.8 MB / 0.6198 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. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaSte.vol.heatPort.Q_flow:VARIABLE(flow=true unit = "W" final = true ) "Heat flow rate (positive if flowing from outside into the component)" type: Real 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 (87): * Single equations (assignments): 82 * 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 2,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004016/8.771, allocations: 175.5 kB / 3.518 GB, free: 57.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004134/8.772, allocations: 158.6 kB / 3.518 GB, free: 57.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003465/8.775, allocations: 1.375 MB / 3.519 GB, free: 57.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/8.775, allocations: 10.25 kB / 3.519 GB, free: 57.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/8.775, allocations: 3.938 kB / 3.519 GB, free: 57.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002712/8.778, allocations: 1.265 MB / 3.52 GB, free: 57.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006488/8.785, allocations: 3.111 MB / 3.523 GB, free: 56.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.809e-06/8.785, allocations: 3.344 kB / 3.523 GB, free: 56.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008313/8.785, allocations: 190.4 kB / 3.524 GB, free: 56.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003979/8.786, allocations: 187.3 kB / 3.524 GB, free: 56.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.894e-05/8.786, allocations: 18.47 kB / 3.524 GB, free: 56.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002425/8.788, allocations: 2.435 MB / 3.526 GB, free: 55.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/8.788, allocations: 5.375 kB / 3.526 GB, free: 55.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003805/8.792, allocations: 2.314 MB / 3.528 GB, free: 54.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008967/8.793, allocations: 340.1 kB / 3.529 GB, free: 54.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000419/8.794, allocations: 18.41 kB / 3.529 GB, free: 54.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001505/8.795, allocations: 119.1 kB / 3.529 GB, free: 54.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/8.795, allocations: 74.75 kB / 3.529 GB, free: 54.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.063e-05/8.795, allocations: 46.11 kB / 3.529 GB, free: 54.11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001275/8.797, allocations: 0.6906 MB / 3.53 GB, free: 54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/8.797, allocations: 0 / 3.53 GB, free: 54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00477/8.801, allocations: 0.9743 MB / 3.531 GB, free: 53.97 MB / 0.6198 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 (81): * Single equations (assignments): 78 * 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.004059/8.805, allocations: 2.63 MB / 3.533 GB, free: 53.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003513/8.809, allocations: 2.526 MB / 3.536 GB, free: 52.21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.826e-06/8.809, allocations: 0 / 3.536 GB, free: 52.21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009176/8.81, allocations: 0.6684 MB / 3.536 GB, free: 52.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004125/8.814, allocations: 0.7163 MB / 3.537 GB, free: 52.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007267/8.821, allocations: 2.53 MB / 3.54 GB, free: 51.29 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001376/8.823, allocations: 1.387 MB / 3.541 GB, free: 50.57 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002568/8.825, allocations: 426.8 kB / 3.541 GB, free: 50.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003012/8.826, allocations: 84.36 kB / 3.541 GB, free: 50.53 MB / 0.6198 GB Notification: Performance of SimCode: time 7.21e-07/8.826, allocations: 0 / 3.541 GB, free: 50.53 MB / 0.6198 GB Notification: Performance of Templates: time 0.07064/8.896, allocations: 45.92 MB / 3.586 GB, free: 30.18 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)