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.001222/0.001222, allocations: 182.7 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4937/0.4937, allocations: 91.97 MB / 108.5 MB, free: 13.07 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.478/1.478, allocations: 223.1 MB / 354.3 MB, free: 12.28 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008558/0.0008557, allocations: 103 kB / 427.4 MB, free: 3.988 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003533, allocations: 8 kB / 0.4983 GB, free: 42.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1706, allocations: 72.3 MB / 0.5689 GB, free: 1.895 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.94/5.111, allocations: 1.885 GB / 2.454 GB, free: 167.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/5.111, allocations: 97.53 kB / 2.454 GB, free: 167.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.793/8.904, allocations: 1.051 GB / 3.505 GB, free: 65.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.348e-06/8.904, allocations: 0 / 3.505 GB, free: 65.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0005653/8.905, allocations: 55.97 kB / 3.505 GB, free: 65.94 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.01319/8.918, allocations: 2.384 MB / 3.507 GB, free: 64.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.027e-05/8.918, allocations: 7.562 kB / 3.508 GB, free: 64.2 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009232/8.919, allocations: 173.9 kB / 3.508 GB, free: 64.06 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004864/8.924, allocations: 0.631 MB / 3.508 GB, free: 63.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005999/8.93, allocations: 1.445 MB / 3.51 GB, free: 62.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004856/8.931, allocations: 157.2 kB / 3.51 GB, free: 62.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006828/8.931, allocations: 126.8 kB / 3.51 GB, free: 62.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004524/8.936, allocations: 1.46 MB / 3.511 GB, free: 61.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.649e-05/8.936, allocations: 7.25 kB / 3.511 GB, free: 61.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000293/8.936, allocations: 49.06 kB / 3.511 GB, free: 61.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-05/8.936, allocations: 39.28 kB / 3.511 GB, free: 61.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003285/8.94, allocations: 1.255 MB / 3.513 GB, free: 61.09 MB / 0.6198 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.01095/8.951, allocations: 5.883 MB / 3.518 GB, free: 55.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002167/8.953, allocations: 1.168 MB / 3.52 GB, free: 54.13 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005596/8.953, allocations: 310.8 kB / 3.52 GB, free: 53.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001247/8.955, allocations: 0.6364 MB / 3.521 GB, free: 53.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=87): time 3.848e-06/8.955, allocations: 0 / 3.521 GB, free: 53.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=94): time 0.01242/8.967, allocations: 4.367 MB / 3.525 GB, free: 48.63 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.136e-05/8.967, allocations: 196.9 kB / 3.525 GB, free: 48.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00263/8.97, allocations: 1.162 MB / 3.526 GB, free: 47.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001619/8.97, allocations: 45.7 kB / 3.526 GB, free: 47.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007802/8.971, allocations: 0.7247 MB / 3.527 GB, free: 46.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000321/8.971, allocations: 323.2 kB / 3.527 GB, free: 46.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.965e-05/8.971, allocations: 19.94 kB / 3.527 GB, free: 46.12 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.621e-05/8.971, allocations: 349.9 kB / 3.528 GB, free: 45.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009358/8.972, allocations: 477.7 kB / 3.528 GB, free: 45.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/8.973, allocations: 0.6884 MB / 3.529 GB, free: 44.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01166/8.985, allocations: 2.518 MB / 3.531 GB, free: 42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/8.985, allocations: 4 kB / 3.531 GB, free: 42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.004848/8.99, allocations: 1.788 MB / 3.533 GB, free: 40.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003458/8.99, allocations: 1.303 MB / 3.534 GB, free: 38.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/8.99, allocations: 4 kB / 3.534 GB, free: 38.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/8.992, allocations: 430.1 kB / 3.535 GB, free: 38.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007694/8.992, allocations: 175.8 kB / 3.535 GB, free: 38.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007508/9, allocations: 7.005 MB / 3.542 GB, free: 30.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002068/9.002, allocations: 148.1 kB / 3.542 GB, free: 30.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002153/9.002, allocations: 43.98 kB / 3.542 GB, free: 30.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/9.002, allocations: 4 kB / 3.542 GB, free: 30.55 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004164/9.006, allocations: 1.629 MB / 3.543 GB, free: 28.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/9.006, allocations: 8 kB / 3.543 GB, free: 28.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/9.007, allocations: 430.4 kB / 3.544 GB, free: 28.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007546/9.008, allocations: 179.7 kB / 3.544 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008158/9.016, allocations: 8.001 MB / 3.552 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002073/9.019, allocations: 155.7 kB / 3.552 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002039/9.019, allocations: 36 kB / 3.552 GB, free: 19.57 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. 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 () * Number of clocked 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.001315/9.02, allocations: 0.5031 MB / 3.552 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005477/9.021, allocations: 166 kB / 3.553 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004456/9.025, allocations: 1.658 MB / 3.554 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/9.025, allocations: 15.28 kB / 3.554 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/9.025, allocations: 3.953 kB / 3.554 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003438/9.029, allocations: 1.518 MB / 3.556 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008241/9.037, allocations: 3.511 MB / 3.559 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/9.037, allocations: 4 kB / 3.559 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008956/9.038, allocations: 184.1 kB / 3.559 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006471/9.038, allocations: 253 kB / 3.56 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/9.039, allocations: 31.98 kB / 3.56 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003382/9.042, allocations: 2.708 MB / 3.562 GB, free: 8.688 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/9.042, allocations: 7.938 kB / 3.562 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005145/9.047, allocations: 2.688 MB / 3.565 GB, free: 5.809 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001456/9.049, allocations: 373.3 kB / 3.565 GB, free: 5.426 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007308/9.049, allocations: 24 kB / 3.565 GB, free: 5.402 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002002/9.051, allocations: 139.8 kB / 3.565 GB, free: 5.266 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/9.052, allocations: 64.47 kB / 3.565 GB, free: 5.199 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001194/9.052, allocations: 43.97 kB / 3.565 GB, free: 5.156 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.002379/9.054, allocations: 0.914 MB / 3.566 GB, free: 4.246 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.71e-07/9.054, allocations: 0 / 3.566 GB, free: 4.246 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.005324/9.059, allocations: 1.023 MB / 3.567 GB, free: 3.223 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.Xi[1],heaDyn.vol.dynBal.medium.T,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) * Number of clocked states: 0 () * 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.01068/9.07, allocations: 6.519 MB / 3.574 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.006038/9.076, allocations: 2.916 MB / 3.577 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/9.076, allocations: 0 / 3.577 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001574/9.078, allocations: 0.7973 MB / 3.577 GB, free: 8.918 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004929/9.083, allocations: 0.862 MB / 3.578 GB, free: 8.082 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4685/9.551, allocations: 12.76 MB / 3.591 GB, free: 83.34 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001532/9.553, allocations: 1.386 MB / 3.592 GB, free: 82.63 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002078/9.555, allocations: 344.7 kB / 3.592 GB, free: 82.61 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009882/9.556, allocations: 0.6409 MB / 3.593 GB, free: 82.61 MB / 0.6355 GB Notification: Performance of SimCode: time 9.42e-07/9.556, allocations: 0 / 3.593 GB, free: 82.61 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.162/9.718, allocations: 83.52 MB / 3.674 GB, free: 80.44 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002071/9.718, allocations: 250 kB / 3.675 GB, free: 80.11 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.841/14.56, allocations: 3.938 kB / 3.675 GB, free: 80.1 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)