Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7035/0.7035, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009334/0.0009334, allocations: 185.4 kB / 187.3 MB, free: 11.87 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.255/1.255, allocations: 221.3 MB / 441.4 MB, free: 4.574 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008221/0.0008222, allocations: 90.28 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001554/0.001554, allocations: 278.5 kB / 0.5939 GB, free: 7.934 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.512e-05/2.515e-05, allocations: 8 kB / 0.6835 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3737, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.666/1.04, allocations: 361.2 MB / 1.117 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/1.04, allocations: 86.7 kB / 1.117 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.111/4.151, allocations: 0.9531 GB / 2.07 GB, free: 103.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.473e-06/4.151, allocations: 2.719 kB / 2.07 GB, free: 103.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001241/4.151, allocations: 53.02 kB / 2.07 GB, free: 103.5 MB / 0.7136 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.002683/4.153, allocations: 1.874 MB / 2.072 GB, free: 102.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/4.153, allocations: 10.47 kB / 2.072 GB, free: 102.6 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001512/4.154, allocations: 153.5 kB / 2.072 GB, free: 102.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002672/4.156, allocations: 0.6122 MB / 2.073 GB, free: 102.4 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002884/4.159, allocations: 1.465 MB / 2.074 GB, free: 102.1 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.83e-05/4.159, allocations: 85.72 kB / 2.074 GB, free: 102.1 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/4.159, allocations: 111.7 kB / 2.074 GB, free: 102.1 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/4.161, allocations: 1.186 MB / 2.076 GB, free: 101.9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/4.161, allocations: 2.531 kB / 2.076 GB, free: 101.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.743e-05/4.161, allocations: 50.41 kB / 2.076 GB, free: 101.9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/4.161, allocations: 23.31 kB / 2.076 GB, free: 101.9 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/4.162, allocations: 0.921 MB / 2.077 GB, free: 101.9 MB / 0.7136 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.00623/4.169, allocations: 6.431 MB / 2.083 GB, free: 98.25 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/4.17, allocations: 0.9464 MB / 2.084 GB, free: 98.21 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006088/4.171, allocations: 0.5291 MB / 2.084 GB, free: 98.2 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001262/4.172, allocations: 2.258 MB / 2.087 GB, free: 95.67 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000771/4.173, allocations: 0.6823 MB / 2.087 GB, free: 95.51 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=100): time 3.106e-06/4.173, allocations: 0 / 2.087 GB, free: 95.51 MB / 0.7136 GB Notification: Performance of matching and sorting (n=100): time 0.001951/4.175, allocations: 1.34 MB / 2.089 GB, free: 95.28 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/4.175, allocations: 153.6 kB / 2.089 GB, free: 95.12 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/4.176, allocations: 1.025 MB / 2.09 GB, free: 94.96 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.257e-05/4.176, allocations: 48.05 kB / 2.09 GB, free: 94.93 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003919/4.176, allocations: 0.6955 MB / 2.09 GB, free: 94.71 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002014/4.177, allocations: 324.4 kB / 2.091 GB, free: 94.51 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.438e-05/4.177, allocations: 18.34 kB / 2.091 GB, free: 94.51 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.288e-05/4.177, allocations: 348.3 kB / 2.091 GB, free: 94.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005436/4.177, allocations: 426.2 kB / 2.091 GB, free: 94.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006741/4.178, allocations: 0.6765 MB / 2.092 GB, free: 93.92 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006118/4.179, allocations: 0.545 MB / 2.093 GB, free: 93.82 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/4.179, allocations: 1.312 kB / 2.093 GB, free: 93.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001931/4.18, allocations: 1.479 MB / 2.094 GB, free: 93.58 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003189/4.181, allocations: 1.712 MB / 2.096 GB, free: 91.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/4.181, allocations: 7.328 kB / 2.096 GB, free: 91.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/4.181, allocations: 14.64 kB / 2.096 GB, free: 91.78 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/4.182, allocations: 279.6 kB / 2.096 GB, free: 91.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/4.182, allocations: 14.02 kB / 2.096 GB, free: 91.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/4.183, allocations: 233.2 kB / 2.096 GB, free: 91.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/4.184, allocations: 59.89 kB / 2.096 GB, free: 91.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.934e-06/4.184, allocations: 9.906 kB / 2.096 GB, free: 91.73 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001778/4.185, allocations: 1.368 MB / 2.098 GB, free: 91.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/4.185, allocations: 3.906 kB / 2.098 GB, free: 91.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/4.185, allocations: 11.59 kB / 2.098 GB, free: 91.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/4.186, allocations: 282.9 kB / 2.098 GB, free: 91.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/4.186, allocations: 7.719 kB / 2.098 GB, free: 91.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/4.188, allocations: 236.8 kB / 2.098 GB, free: 91.58 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/4.188, allocations: 58.09 kB / 2.098 GB, free: 91.58 MB / 0.7136 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 () * 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.0002949/4.188, allocations: 282.4 kB / 2.099 GB, free: 91.37 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/4.188, allocations: 166.6 kB / 2.099 GB, free: 91.29 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003001/4.191, allocations: 2.042 MB / 2.101 GB, free: 91.07 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.34e-05/4.192, allocations: 16.14 kB / 2.101 GB, free: 91.07 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/4.192, allocations: 3 kB / 2.101 GB, free: 91.07 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/4.192, allocations: 8.109 kB / 2.101 GB, free: 91.07 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004356/4.196, allocations: 3.392 MB / 2.104 GB, free: 90.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/4.196, allocations: 3.938 kB / 2.104 GB, free: 90.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/4.197, allocations: 232.9 kB / 2.104 GB, free: 90.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-05/4.197, allocations: 10.83 kB / 2.104 GB, free: 90.53 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.225e-05/4.197, allocations: 40.3 kB / 2.104 GB, free: 90.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.356e-06/4.197, allocations: 12.44 kB / 2.104 GB, free: 90.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/4.197, allocations: 2.594 kB / 2.104 GB, free: 90.53 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0032/4.2, allocations: 2.729 MB / 2.107 GB, free: 90.03 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007538/4.201, allocations: 403.3 kB / 2.107 GB, free: 89.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003187/4.201, allocations: 32.88 kB / 2.107 GB, free: 89.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/4.203, allocations: 176.9 kB / 2.108 GB, free: 89.82 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/4.203, allocations: 72.2 kB / 2.108 GB, free: 89.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/4.203, allocations: 63.41 kB / 2.108 GB, free: 89.82 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001149/4.204, allocations: 0.7997 MB / 2.108 GB, free: 89.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.31e-07/4.204, allocations: 0 / 2.108 GB, free: 89.7 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00255/4.207, allocations: 0.9255 MB / 2.109 GB, free: 89.59 MB / 0.7136 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) * 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.005217/4.212, allocations: 4.371 MB / 2.114 GB, free: 88.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002852/4.215, allocations: 2.308 MB / 2.116 GB, free: 87.69 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/4.215, allocations: 0 / 2.116 GB, free: 87.69 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009501/4.216, allocations: 0.9134 MB / 2.117 GB, free: 87.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003011/4.219, allocations: 0.6305 MB / 2.117 GB, free: 87.49 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005544/4.224, allocations: 2.869 MB / 2.12 GB, free: 86.73 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007076/4.225, allocations: 1.314 MB / 2.121 GB, free: 86.02 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002099/4.227, allocations: 0.4962 MB / 2.122 GB, free: 86 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007092/4.228, allocations: 0.6403 MB / 2.123 GB, free: 86 MB / 0.7136 GB Notification: Performance of SimCode: time 8.62e-07/4.228, allocations: 3.609 kB / 2.123 GB, free: 86 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08564/4.314, allocations: 54.19 MB / 2.176 GB, free: 77.01 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001349/4.314, allocations: 211.5 kB / 2.176 GB, free: 76.79 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.532/7.846, allocations: 3.094 kB / 2.176 GB, free: 76.79 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_PrescribedOutlet.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)