Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.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.PrescribedOutlet_dynamic,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",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.001329/0.001329, allocations: 183.6 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.5083/0.5083, allocations: 91.98 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.643/1.643, allocations: 223.2 MB / 354.3 MB, free: 12.21 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.001005/0.001006, allocations: 100.2 kB / 427.4 MB, free: 3.941 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.000348, allocations: 12 kB / 0.4983 GB, free: 42.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1735, allocations: 72.3 MB / 0.5689 GB, free: 1.836 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.257/1.431, allocations: 354 MB / 0.9146 GB, free: 112.1 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003616/1.431, allocations: 90.52 kB / 0.9147 GB, free: 112.1 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.886/7.318, allocations: 1.539 GB / 2.454 GB, free: 57.63 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.514e-06/7.318, allocations: 0 / 2.454 GB, free: 57.63 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001926/7.318, allocations: 59.62 kB / 2.454 GB, free: 57.63 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.006243/7.324, allocations: 2.185 MB / 2.456 GB, free: 56.86 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.38e-05/7.325, allocations: 9.312 kB / 2.456 GB, free: 56.86 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003513/7.325, allocations: 156.5 kB / 2.456 GB, free: 56.82 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003462/7.328, allocations: 0.6036 MB / 2.457 GB, free: 56.73 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004351/7.333, allocations: 1.459 MB / 2.458 GB, free: 56.39 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.661e-05/7.333, allocations: 81.34 kB / 2.458 GB, free: 56.39 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002275/7.333, allocations: 110.4 kB / 2.458 GB, free: 56.39 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003135/7.336, allocations: 1.38 MB / 2.459 GB, free: 56.17 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.348e-05/7.336, allocations: 9.703 kB / 2.459 GB, free: 56.17 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/7.336, allocations: 43.78 kB / 2.46 GB, free: 56.17 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.399e-05/7.336, allocations: 25.22 kB / 2.46 GB, free: 56.17 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003168/7.34, allocations: 1.24 MB / 2.461 GB, free: 56.16 MB / 0.6355 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.008859/7.348, allocations: 6.644 MB / 2.467 GB, free: 52.34 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003208/7.352, allocations: 1.255 MB / 2.468 GB, free: 52.31 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001614/7.353, allocations: 2.26 MB / 2.471 GB, free: 49.78 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001838/7.355, allocations: 0.8376 MB / 2.472 GB, free: 49.64 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=97): time 6.152e-06/7.355, allocations: 3.891 kB / 2.472 GB, free: 49.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=97): time 0.006018/7.361, allocations: 2.467 MB / 2.474 GB, free: 49.12 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.056e-05/7.361, allocations: 148.2 kB / 2.474 GB, free: 48.96 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002423/7.364, allocations: 1.054 MB / 2.475 GB, free: 48.81 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001554/7.364, allocations: 48.36 kB / 2.475 GB, free: 48.78 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007358/7.365, allocations: 0.6976 MB / 2.476 GB, free: 48.59 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003548/7.365, allocations: 327.8 kB / 2.476 GB, free: 48.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.387e-05/7.365, allocations: 18.72 kB / 2.476 GB, free: 48.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001162/7.365, allocations: 345.9 kB / 2.476 GB, free: 48.12 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001734/7.367, allocations: 0.5836 MB / 2.477 GB, free: 48.12 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001848/7.369, allocations: 0.8738 MB / 2.478 GB, free: 47.82 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00171/7.371, allocations: 0.7229 MB / 2.479 GB, free: 47.71 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/7.371, allocations: 5.141 kB / 2.479 GB, free: 47.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.004874/7.375, allocations: 1.843 MB / 2.48 GB, free: 47.47 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006823/7.376, allocations: 2.244 MB / 2.483 GB, free: 45.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/7.376, allocations: 6.156 kB / 2.483 GB, free: 45.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.392e-05/7.376, allocations: 11.62 kB / 2.483 GB, free: 45.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/7.378, allocations: 291.4 kB / 2.483 GB, free: 45.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.683e-05/7.378, allocations: 15.03 kB / 2.483 GB, free: 45.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002455/7.38, allocations: 252.4 kB / 2.483 GB, free: 45.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001946/7.38, allocations: 64.72 kB / 2.483 GB, free: 45.05 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/7.38, allocations: 2.781 kB / 2.483 GB, free: 45.05 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004344/7.385, allocations: 1.749 MB / 2.485 GB, free: 44.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/7.385, allocations: 11.83 kB / 2.485 GB, free: 44.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/7.385, allocations: 11 kB / 2.485 GB, free: 44.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/7.386, allocations: 291.1 kB / 2.485 GB, free: 44.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.861e-05/7.386, allocations: 18.12 kB / 2.485 GB, free: 44.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002112/7.388, allocations: 240 kB / 2.485 GB, free: 44.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/7.388, allocations: 60.77 kB / 2.486 GB, free: 44.89 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001088/7.389, allocations: 0.4962 MB / 2.486 GB, free: 44.61 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003189/7.39, allocations: 156.9 kB / 2.486 GB, free: 44.53 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005357/7.395, allocations: 2.344 MB / 2.488 GB, free: 44.31 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.899e-05/7.395, allocations: 20.98 kB / 2.488 GB, free: 44.31 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-06/7.395, allocations: 1.656 kB / 2.488 GB, free: 44.31 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/7.395, allocations: 7.266 kB / 2.488 GB, free: 44.31 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007305/7.403, allocations: 3.679 MB / 2.492 GB, free: 43.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/7.403, allocations: 5.906 kB / 2.492 GB, free: 43.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/7.404, allocations: 229.6 kB / 2.492 GB, free: 43.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.338e-05/7.404, allocations: 7.25 kB / 2.492 GB, free: 43.79 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/7.404, allocations: 39.84 kB / 2.492 GB, free: 43.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.157e-05/7.404, allocations: 8.062 kB / 2.492 GB, free: 43.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/7.404, allocations: 4.688 kB / 2.492 GB, free: 43.79 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006224/7.41, allocations: 3.206 MB / 2.495 GB, free: 43.27 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00131/7.411, allocations: 406 kB / 2.496 GB, free: 43.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002246/7.412, allocations: 31.28 kB / 2.496 GB, free: 43.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/7.413, allocations: 168.2 kB / 2.496 GB, free: 43.07 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/7.413, allocations: 74.44 kB / 2.496 GB, free: 43.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/7.413, allocations: 61.14 kB / 2.496 GB, free: 43.07 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001444/7.415, allocations: 0.8237 MB / 2.497 GB, free: 42.96 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/7.415, allocations: 0 / 2.497 GB, free: 42.96 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003546/7.418, allocations: 0.9142 MB / 2.498 GB, free: 42.85 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (heaHigPow.outCon.T,heaHigPowOut.T,cooLimPowOut.T,cooLimPow.outCon.T,heaCooUnl.outCon.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008618/7.427, allocations: 4.859 MB / 2.503 GB, free: 41.36 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005412/7.432, allocations: 2.769 MB / 2.505 GB, free: 40.96 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/7.432, allocations: 0 / 2.505 GB, free: 40.96 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001763/7.434, allocations: 1.072 MB / 2.506 GB, free: 40.77 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003281/7.437, allocations: 0.5913 MB / 2.507 GB, free: 40.76 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01952/7.457, allocations: 14.05 MB / 2.521 GB, free: 33.79 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000883/7.458, allocations: 1.309 MB / 2.522 GB, free: 33.07 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.00201/7.46, allocations: 412.6 kB / 2.522 GB, free: 33.06 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008481/7.461, allocations: 0.6579 MB / 2.523 GB, free: 33.05 MB / 0.6355 GB Notification: Performance of SimCode: time 1.112e-06/7.461, allocations: 0 / 2.523 GB, free: 33.05 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08852/7.549, allocations: 50.3 MB / 2.572 GB, free: 30.37 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002398/7.55, allocations: 246.6 kB / 2.572 GB, free: 30.12 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.866/11.42, allocations: 0 / 2.572 GB, free: 30.12 MB / 0.6355 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1)