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: "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 179.9 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5618/0.5618, allocations: 90.81 MB / 104.5 MB, free: 9.801 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 221.3 MB / 348.3 MB, free: 472 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009144/0.0009144, allocations: 91.69 kB / 421.2 MB, free: 5.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.977e-05/3.978e-05, allocations: 4 kB / 0.4897 GB, free: 5.289 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4631/0.4632, allocations: 72.31 MB / 0.5603 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.812/5.275, allocations: 1.885 GB / 2.445 GB, free: 140.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/5.275, allocations: 89.73 kB / 2.445 GB, free: 140.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.636/8.911, allocations: 1.05 GB / 3.495 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.166e-06/8.911, allocations: 0 / 3.495 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001545/8.911, allocations: 54.77 kB / 3.495 GB, free: 10.72 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.004293/8.916, allocations: 2.063 MB / 3.497 GB, free: 8.586 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/8.916, allocations: 15.98 kB / 3.497 GB, free: 8.57 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002099/8.916, allocations: 177.3 kB / 3.498 GB, free: 8.387 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003638/8.919, allocations: 0.6259 MB / 3.498 GB, free: 7.758 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002904/8.922, allocations: 1.43 MB / 3.5 GB, free: 6.277 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003412/8.923, allocations: 158.2 kB / 3.5 GB, free: 6.121 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001822/8.923, allocations: 124 kB / 3.5 GB, free: 6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002022/8.925, allocations: 1.352 MB / 3.501 GB, free: 4.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.835e-05/8.925, allocations: 4 kB / 3.501 GB, free: 4.566 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/8.925, allocations: 51.95 kB / 3.501 GB, free: 4.516 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.816e-05/8.925, allocations: 40.62 kB / 3.501 GB, free: 4.477 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/8.927, allocations: 1.051 MB / 3.502 GB, free: 3.418 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.008181/8.935, allocations: 5.894 MB / 3.508 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/8.936, allocations: 0.9837 MB / 3.509 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006834/8.937, allocations: 487.9 kB / 3.509 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005767/8.938, allocations: 316 kB / 3.51 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008632/8.939, allocations: 0.5302 MB / 3.51 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=87): time 4.168e-06/8.939, allocations: 0 / 3.51 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of matching and sorting (n=94): time 0.007243/8.946, allocations: 2.997 MB / 3.513 GB, free: 7.707 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/8.946, allocations: 196.7 kB / 3.513 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001925/8.948, allocations: 1.146 MB / 3.515 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001679/8.948, allocations: 45.7 kB / 3.515 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006679/8.949, allocations: 0.7216 MB / 3.515 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003231/8.949, allocations: 331.2 kB / 3.516 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.425e-05/8.949, allocations: 16 kB / 3.516 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001253/8.949, allocations: 338 kB / 3.516 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006083/8.95, allocations: 377.9 kB / 3.516 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008893/8.951, allocations: 0.5907 MB / 3.517 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01089/8.962, allocations: 2.354 MB / 3.519 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/8.962, allocations: 0 / 3.519 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.6443/9.606, allocations: 1.611 MB / 3.521 GB, free: 75.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003887/9.607, allocations: 1.304 MB / 3.522 GB, free: 73.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/9.607, allocations: 5.062 kB / 3.522 GB, free: 73.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001421/9.608, allocations: 403.5 kB / 3.522 GB, free: 73.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/9.609, allocations: 179.6 kB / 3.523 GB, free: 73.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007168/9.616, allocations: 6.686 MB / 3.529 GB, free: 69.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002148/9.618, allocations: 142.6 kB / 3.529 GB, free: 69.53 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/9.619, allocations: 38.91 kB / 3.529 GB, free: 69.53 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/9.619, allocations: 3.938 kB / 3.529 GB, free: 69.53 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00381/9.622, allocations: 1.469 MB / 3.531 GB, free: 69.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/9.623, allocations: 9.656 kB / 3.531 GB, free: 69.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/9.624, allocations: 401.3 kB / 3.531 GB, free: 69.42 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007422/9.624, allocations: 175.7 kB / 3.531 GB, free: 69.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007465/9.632, allocations: 7.697 MB / 3.539 GB, free: 64.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002051/9.634, allocations: 140.1 kB / 3.539 GB, free: 64.13 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002277/9.634, allocations: 42.91 kB / 3.539 GB, free: 64.13 MB / 0.6355 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 (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.000535/9.635, allocations: 201.2 kB / 3.539 GB, free: 63.99 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005168/9.635, allocations: 165.8 kB / 3.539 GB, free: 63.99 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003719/9.639, allocations: 1.444 MB / 3.541 GB, free: 63.88 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/9.639, allocations: 14.12 kB / 3.541 GB, free: 63.88 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/9.639, allocations: 3.469 kB / 3.541 GB, free: 63.88 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002688/9.642, allocations: 1.296 MB / 3.542 GB, free: 63.66 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007033/9.649, allocations: 3.303 MB / 3.545 GB, free: 63.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/9.649, allocations: 2.969 kB / 3.545 GB, free: 63.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008774/9.65, allocations: 197.8 kB / 3.545 GB, free: 63.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004794/9.65, allocations: 194.7 kB / 3.546 GB, free: 63.07 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-05/9.65, allocations: 36.03 kB / 3.546 GB, free: 63.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002626/9.653, allocations: 2.492 MB / 3.548 GB, free: 61.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/9.653, allocations: 7.25 kB / 3.548 GB, free: 61.31 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004263/9.657, allocations: 2.392 MB / 3.55 GB, free: 60.61 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001144/9.658, allocations: 365 kB / 3.551 GB, free: 60.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005481/9.659, allocations: 35.47 kB / 3.551 GB, free: 60.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001737/9.661, allocations: 131.4 kB / 3.551 GB, free: 60.43 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/9.661, allocations: 71.44 kB / 3.551 GB, free: 60.42 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/9.661, allocations: 43.89 kB / 3.551 GB, free: 60.42 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001924/9.663, allocations: 0.8927 MB / 3.552 GB, free: 60.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.01e-07/9.663, allocations: 0 / 3.552 GB, free: 60.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00482/9.668, allocations: 1.02 MB / 3.553 GB, free: 60.3 MB / 0.6355 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.009768/9.677, allocations: 6.227 MB / 3.559 GB, free: 57.33 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005219/9.683, allocations: 2.665 MB / 3.562 GB, free: 56.39 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/9.683, allocations: 0 / 3.562 GB, free: 56.39 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/9.684, allocations: 0.6989 MB / 3.562 GB, free: 56.21 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005197/9.689, allocations: 0.8558 MB / 3.563 GB, free: 56.19 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009632/9.699, allocations: 2.987 MB / 3.566 GB, free: 55.41 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001398/9.7, allocations: 1.389 MB / 3.567 GB, free: 54.7 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.003094/9.703, allocations: 494.2 kB / 3.568 GB, free: 54.68 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001142/9.704, allocations: 0.6067 MB / 3.568 GB, free: 54.67 MB / 0.6355 GB Notification: Performance of SimCode: time 2.084e-06/9.704, allocations: 0 / 3.568 GB, free: 54.67 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1766/9.881, allocations: 91.35 MB / 3.658 GB, free: 51.38 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002463/9.881, allocations: 224.1 kB / 3.658 GB, free: 51.16 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.001/14.88, allocations: 3.688 kB / 3.658 GB, free: 51.16 MB / 0.6355 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_HeaterCooler_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_HeaterCooler_u.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)