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.001544/0.001544, 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.5205/0.5205, allocations: 90.91 MB / 99.34 MB, free: 2.18 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.397/1.397, allocations: 221.5 MB / 343.2 MB, free: 1.566 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.0008591/0.0008591, allocations: 94.72 kB / 415.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.898e-05/1.9e-05, allocations: 4 kB / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1424, allocations: 72.31 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.435/4.577, allocations: 1.884 GB / 2.438 GB, free: 47.56 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/4.577, allocations: 87.95 kB / 2.438 GB, free: 47.47 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.816/8.393, allocations: 1.039 GB / 3.477 GB, free: 74.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.392e-06/8.393, allocations: 0 / 3.477 GB, free: 74.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001515/8.393, allocations: 49.98 kB / 3.477 GB, free: 74.85 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.00419/8.398, allocations: 2.072 MB / 3.479 GB, free: 73.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/8.398, allocations: 7.438 kB / 3.479 GB, free: 73.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00385/8.402, allocations: 0.6269 MB / 3.48 GB, free: 73.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003107/8.405, allocations: 1.432 MB / 3.481 GB, free: 73.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003511/8.405, allocations: 113.2 kB / 3.481 GB, free: 73.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/8.405, allocations: 76.92 kB / 3.481 GB, free: 73.49 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001894/8.407, allocations: 0.9845 MB / 3.482 GB, free: 73.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001965/8.409, allocations: 1.191 MB / 3.483 GB, free: 73.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.35e-05/8.409, allocations: 2.688 kB / 3.483 GB, free: 73.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/8.409, allocations: 9.438 kB / 3.483 GB, free: 73.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-05/8.409, allocations: 41.72 kB / 3.484 GB, free: 73.28 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.007384/8.417, allocations: 5.623 MB / 3.489 GB, free: 71.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/8.418, allocations: 0.9555 MB / 3.49 GB, free: 70.81 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005506/8.418, allocations: 465.4 kB / 3.49 GB, free: 70.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004994/8.419, allocations: 307.9 kB / 3.491 GB, free: 70.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007047/8.42, allocations: 0.5102 MB / 3.491 GB, free: 70.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=87): time 3.306e-06/8.42, allocations: 0 / 3.491 GB, free: 70.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=94): time 0.007033/8.427, allocations: 2.931 MB / 3.494 GB, free: 69.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/8.427, allocations: 191.7 kB / 3.494 GB, free: 69.58 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/8.428, allocations: 0.9197 MB / 3.495 GB, free: 69.43 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.718e-05/8.428, allocations: 28.92 kB / 3.495 GB, free: 69.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005696/8.429, allocations: 0.723 MB / 3.496 GB, free: 69.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002245/8.429, allocations: 311.1 kB / 3.496 GB, free: 68.94 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.122e-05/8.429, allocations: 6.594 kB / 3.496 GB, free: 68.94 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.703e-05/8.429, allocations: 339.8 kB / 3.496 GB, free: 68.63 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004681/8.43, allocations: 357.8 kB / 3.497 GB, free: 68.63 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005813/8.43, allocations: 0.5753 MB / 3.497 GB, free: 68.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003519/8.434, allocations: 1.339 MB / 3.499 GB, free: 68.26 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/8.434, allocations: 0 / 3.499 GB, free: 68.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.003645/8.437, allocations: 1.578 MB / 3.5 GB, free: 68.08 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002982/8.438, allocations: 1.287 MB / 3.501 GB, free: 66.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/8.438, allocations: 3.938 kB / 3.501 GB, free: 66.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009199/8.439, allocations: 398.1 kB / 3.502 GB, free: 66.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007106/8.439, allocations: 173.6 kB / 3.502 GB, free: 66.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005725/8.445, allocations: 6.33 MB / 3.508 GB, free: 62.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/8.447, allocations: 128.3 kB / 3.508 GB, free: 62.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001896/8.447, allocations: 39.19 kB / 3.508 GB, free: 62.47 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/8.447, allocations: 3.656 kB / 3.508 GB, free: 62.47 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003531/8.451, allocations: 1.403 MB / 3.51 GB, free: 62.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/8.451, allocations: 3.312 kB / 3.51 GB, free: 62.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000933/8.452, allocations: 395.2 kB / 3.51 GB, free: 62.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000728/8.452, allocations: 177.7 kB / 3.51 GB, free: 62.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006598/8.459, allocations: 7.265 MB / 3.517 GB, free: 57.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/8.461, allocations: 121 kB / 3.518 GB, free: 57.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001738/8.461, allocations: 39.12 kB / 3.518 GB, free: 57.27 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.0004489/8.461, allocations: 171.7 kB / 3.518 GB, free: 57.13 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003449/8.465, allocations: 1.313 MB / 3.519 GB, free: 56.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004714/8.465, allocations: 152.1 kB / 3.519 GB, free: 56.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003499/8.469, allocations: 1.381 MB / 3.52 GB, free: 56.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/8.469, allocations: 14.81 kB / 3.52 GB, free: 56.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/8.469, allocations: 0 / 3.52 GB, free: 56.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00274/8.472, allocations: 1.256 MB / 3.522 GB, free: 56.61 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007273/8.479, allocations: 3.113 MB / 3.525 GB, free: 56.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.756e-05/8.479, allocations: 3.062 kB / 3.525 GB, free: 56.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009721/8.48, allocations: 192 kB / 3.525 GB, free: 56.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005015/8.48, allocations: 196.4 kB / 3.525 GB, free: 56.06 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.994e-05/8.481, allocations: 23.91 kB / 3.525 GB, free: 56.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002711/8.483, allocations: 2.433 MB / 3.528 GB, free: 54.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/8.483, allocations: 7.312 kB / 3.528 GB, free: 54.33 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004262/8.488, allocations: 2.31 MB / 3.53 GB, free: 53.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001162/8.489, allocations: 339.1 kB / 3.53 GB, free: 53.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005224/8.489, allocations: 21.17 kB / 3.53 GB, free: 53.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001636/8.491, allocations: 126.3 kB / 3.53 GB, free: 53.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/8.491, allocations: 67.25 kB / 3.53 GB, free: 53.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/8.491, allocations: 40.42 kB / 3.53 GB, free: 53.43 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001476/8.493, allocations: 0.7037 MB / 3.531 GB, free: 53.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/8.493, allocations: 0 / 3.531 GB, free: 53.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00528/8.498, allocations: 0.9651 MB / 3.532 GB, free: 53.29 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.008899/8.507, allocations: 6.403 MB / 3.538 GB, free: 50.29 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003961/8.511, allocations: 2.521 MB / 3.541 GB, free: 49.38 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.478e-05/8.511, allocations: 4.656 kB / 3.541 GB, free: 49.38 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001022/8.512, allocations: 0.6761 MB / 3.541 GB, free: 49.21 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004488/8.516, allocations: 0.7196 MB / 3.542 GB, free: 49.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009229/8.526, allocations: 2.875 MB / 3.545 GB, free: 48.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00226/8.528, allocations: 1.383 MB / 3.546 GB, free: 47.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002909/8.531, allocations: 424.7 kB / 3.547 GB, free: 47.64 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009705/8.532, allocations: 0.6013 MB / 3.547 GB, free: 47.63 MB / 0.6198 GB Notification: Performance of SimCode: time 2.234e-06/8.532, allocations: 0 / 3.547 GB, free: 47.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1115/8.643, allocations: 62.93 MB / 3.609 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/8.644, allocations: 169.1 kB / 3.609 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.143/12.79, allocations: 3.375 kB / 3.609 GB, free: 23.72 MB / 0.6198 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)