Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.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,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet",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.00178/0.00178, allocations: 181.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.5505/0.5505, allocations: 91.97 MB / 108.5 MB, free: 13.08 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.505/1.505, allocations: 223.2 MB / 354.3 MB, free: 12.08 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.001159/0.001159, allocations: 92.28 kB / 427.4 MB, free: 3.809 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003391/0.0003391, allocations: 8 kB / 0.4983 GB, free: 42.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.17, allocations: 72.31 MB / 0.5689 GB, free: 1.824 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.145/1.315, allocations: 353.8 MB / 0.9144 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/1.316, allocations: 94.02 kB / 0.9145 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.48/4.795, allocations: 0.9548 GB / 1.869 GB, free: 86.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.044e-06/4.795, allocations: 0 / 1.869 GB, free: 86.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001496/4.795, allocations: 55.23 kB / 1.869 GB, free: 86.4 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: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.004347/4.8, allocations: 2.183 MB / 1.871 GB, free: 85.17 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/4.8, allocations: 8.656 kB / 1.871 GB, free: 85.17 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000189/4.8, allocations: 158 kB / 1.872 GB, free: 85.13 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002898/4.803, allocations: 0.6114 MB / 1.872 GB, free: 85.03 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003357/4.806, allocations: 1.432 MB / 1.874 GB, free: 84.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.77e-05/4.806, allocations: 81.91 kB / 1.874 GB, free: 84.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/4.807, allocations: 113.9 kB / 1.874 GB, free: 84.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002718/4.809, allocations: 1.372 MB / 1.875 GB, free: 84.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/4.809, allocations: 3.469 kB / 1.875 GB, free: 84.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/4.809, allocations: 45.2 kB / 1.875 GB, free: 84.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/4.809, allocations: 28.34 kB / 1.875 GB, free: 84.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003024/4.812, allocations: 1.269 MB / 1.876 GB, free: 84.36 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.00754/4.82, allocations: 6.419 MB / 1.883 GB, free: 80.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002798/4.823, allocations: 1.273 MB / 1.884 GB, free: 80.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001422/4.824, allocations: 2.257 MB / 1.886 GB, free: 77.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001616/4.826, allocations: 0.8534 MB / 1.887 GB, free: 77.28 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=100): time 3.507e-06/4.826, allocations: 0 / 1.887 GB, free: 77.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=100): time 0.005169/4.831, allocations: 2.496 MB / 1.889 GB, free: 76.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.302e-05/4.831, allocations: 153 kB / 1.89 GB, free: 76.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/4.833, allocations: 1.041 MB / 1.891 GB, free: 75.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001029/4.833, allocations: 45.45 kB / 1.891 GB, free: 75.65 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004819/4.833, allocations: 0.6877 MB / 1.891 GB, free: 75.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002552/4.833, allocations: 322.5 kB / 1.892 GB, free: 74.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.067e-05/4.834, allocations: 23.69 kB / 1.892 GB, free: 74.85 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.205e-05/4.834, allocations: 343.8 kB / 1.892 GB, free: 74.53 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/4.835, allocations: 0.5835 MB / 1.893 GB, free: 74.37 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/4.836, allocations: 0.8327 MB / 1.893 GB, free: 73.92 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/4.838, allocations: 0.7039 MB / 1.894 GB, free: 73.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/4.838, allocations: 3.375 kB / 1.894 GB, free: 73.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003642/4.842, allocations: 1.813 MB / 1.896 GB, free: 72.67 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004013/4.842, allocations: 1.713 MB / 1.898 GB, free: 70.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/4.842, allocations: 7.672 kB / 1.898 GB, free: 70.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/4.842, allocations: 11.31 kB / 1.898 GB, free: 70.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/4.843, allocations: 281.5 kB / 1.898 GB, free: 70.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/4.843, allocations: 6.562 kB / 1.898 GB, free: 70.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/4.845, allocations: 239.2 kB / 1.898 GB, free: 70.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/4.845, allocations: 70.3 kB / 1.898 GB, free: 70.58 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/4.845, allocations: 3.125 kB / 1.898 GB, free: 70.58 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003278/4.848, allocations: 1.712 MB / 1.9 GB, free: 69.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/4.848, allocations: 14.77 kB / 1.9 GB, free: 69.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/4.848, allocations: 10.81 kB / 1.9 GB, free: 69.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/4.849, allocations: 282.2 kB / 1.9 GB, free: 69.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/4.849, allocations: 9.984 kB / 1.9 GB, free: 69.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/4.851, allocations: 233.5 kB / 1.9 GB, free: 69.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/4.851, allocations: 67.38 kB / 1.9 GB, free: 69.56 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (111): * Single equations (assignments): 108 * 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.0008651/4.852, allocations: 493 kB / 1.901 GB, free: 69.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000219/4.852, allocations: 164.9 kB / 1.901 GB, free: 69.08 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004399/4.857, allocations: 2.365 MB / 1.903 GB, free: 67.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.651e-05/4.857, allocations: 18.89 kB / 1.903 GB, free: 67.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/4.857, allocations: 10.14 kB / 1.903 GB, free: 67.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/4.857, allocations: 7.969 kB / 1.903 GB, free: 67.83 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00616/4.863, allocations: 3.739 MB / 1.907 GB, free: 65.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/4.863, allocations: 4.156 kB / 1.907 GB, free: 65.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/4.864, allocations: 231.7 kB / 1.907 GB, free: 64.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/4.864, allocations: 4 kB / 1.907 GB, free: 64.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.675e-05/4.864, allocations: 43.97 kB / 1.907 GB, free: 64.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/4.864, allocations: 4 kB / 1.907 GB, free: 64.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/4.864, allocations: 7.938 kB / 1.907 GB, free: 64.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005288/4.869, allocations: 3.235 MB / 1.91 GB, free: 61.42 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000899/4.87, allocations: 410.6 kB / 1.911 GB, free: 61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002127/4.87, allocations: 35.61 kB / 1.911 GB, free: 60.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/4.872, allocations: 171.7 kB / 1.911 GB, free: 60.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/4.872, allocations: 80.83 kB / 1.911 GB, free: 60.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/4.872, allocations: 60.91 kB / 1.911 GB, free: 60.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001175/4.873, allocations: 0.8103 MB / 1.912 GB, free: 59.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.81e-07/4.873, allocations: 0 / 1.912 GB, free: 59.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003081/4.876, allocations: 0.9128 MB / 1.913 GB, free: 58.94 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.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 (104): * Single equations (assignments): 82 * 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.007726/4.884, allocations: 4.89 MB / 1.918 GB, free: 54.15 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.005099/4.889, allocations: 2.75 MB / 1.92 GB, free: 51.33 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/4.889, allocations: 7.938 kB / 1.92 GB, free: 51.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001704/4.891, allocations: 1.092 MB / 1.921 GB, free: 50.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002694/4.894, allocations: 0.5834 MB / 1.922 GB, free: 49.63 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01782/4.911, allocations: 12.82 MB / 1.934 GB, free: 36.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000819/4.912, allocations: 1.317 MB / 1.936 GB, free: 35.03 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001715/4.914, allocations: 411.1 kB / 1.936 GB, free: 34.65 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008181/4.915, allocations: 0.6555 MB / 1.937 GB, free: 34 MB / 0.6198 GB Notification: Performance of SimCode: time 1.292e-06/4.915, allocations: 0 / 1.937 GB, free: 34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08438/4.999, allocations: 50.04 MB / 1.986 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/4.999, allocations: 228.1 kB / 1.986 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.785/8.785, allocations: 0 / 1.986 GB, free: 0.7617 MB / 0.6355 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)