Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.929/1.929, allocations: 289.7 MB / 302.2 MB, free: 2.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 179.1 kB / 371.6 MB, free: 3.371 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.1 MB / 0.6309 GB, free: 11.73 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001081/0.001081, allocations: 88.7 kB / 0.745 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.401e-05/5.405e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3576, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.431/1.789, allocations: 391.1 MB / 1.362 GB, free: 5.5 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003568/1.79, allocations: 86.52 kB / 1.362 GB, free: 5.457 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 7.527/9.316, allocations: 1.506 GB / 2.868 GB, free: 116.2 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.353e-06/9.316, allocations: 0.5625 kB / 2.868 GB, free: 116.2 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002117/9.316, allocations: 52.81 kB / 2.868 GB, free: 116.2 MB / 0.9636 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.005142/9.322, allocations: 1.889 MB / 2.87 GB, free: 115.7 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.263e-05/9.322, allocations: 9.922 kB / 2.87 GB, free: 115.7 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003076/9.322, allocations: 158 kB / 2.87 GB, free: 115.7 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003747/9.326, allocations: 0.6069 MB / 2.87 GB, free: 115.6 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004915/9.331, allocations: 1.481 MB / 2.872 GB, free: 115.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/9.331, allocations: 78.34 kB / 2.872 GB, free: 115.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000295/9.331, allocations: 112.4 kB / 2.872 GB, free: 115.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003055/9.334, allocations: 1.201 MB / 2.873 GB, free: 115 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.959e-05/9.334, allocations: 4.625 kB / 2.873 GB, free: 115 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/9.334, allocations: 45.19 kB / 2.873 GB, free: 115 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.965e-05/9.334, allocations: 24.78 kB / 2.873 GB, free: 115 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002203/9.337, allocations: 0.8972 MB / 2.874 GB, free: 115 MB / 0.9636 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.01091/9.347, allocations: 6.664 MB / 2.881 GB, free: 111.2 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001998/9.35, allocations: 0.9321 MB / 2.882 GB, free: 111.2 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008147/9.35, allocations: 0.5105 MB / 2.882 GB, free: 111.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00165/9.352, allocations: 2.256 MB / 2.884 GB, free: 108.6 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009141/9.353, allocations: 0.6743 MB / 2.885 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=97): time 4.358e-06/9.353, allocations: 3.812 kB / 2.885 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of matching and sorting (n=97): time 0.002715/9.356, allocations: 1.307 MB / 2.886 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.652e-05/9.356, allocations: 152 kB / 2.886 GB, free: 108.1 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001701/9.357, allocations: 1.041 MB / 2.887 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001399/9.358, allocations: 49.27 kB / 2.887 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006237/9.358, allocations: 0.712 MB / 2.888 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003341/9.359, allocations: 320.1 kB / 2.888 GB, free: 107.5 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.399e-05/9.359, allocations: 19.91 kB / 2.888 GB, free: 107.5 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001179/9.359, allocations: 349.2 kB / 2.889 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006823/9.36, allocations: 425 kB / 2.889 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009199/9.36, allocations: 0.7169 MB / 2.89 GB, free: 106.9 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008516/9.361, allocations: 0.5625 MB / 2.89 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/9.361, allocations: 0.6562 kB / 2.89 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002819/9.364, allocations: 1.503 MB / 2.892 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008501/9.365, allocations: 2.253 MB / 2.894 GB, free: 104.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/9.365, allocations: 5.875 kB / 2.894 GB, free: 104.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.773e-05/9.365, allocations: 11.84 kB / 2.894 GB, free: 104.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/9.366, allocations: 291 kB / 2.894 GB, free: 104.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.221e-05/9.366, allocations: 13.38 kB / 2.894 GB, free: 104.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002321/9.369, allocations: 257.5 kB / 2.895 GB, free: 104.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001667/9.369, allocations: 64.41 kB / 2.895 GB, free: 104.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/9.369, allocations: 7.562 kB / 2.895 GB, free: 104.2 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002392/9.371, allocations: 1.4 MB / 2.896 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/9.371, allocations: 6.25 kB / 2.896 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/9.371, allocations: 10.59 kB / 2.896 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/9.373, allocations: 288.8 kB / 2.896 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.536e-05/9.373, allocations: 22.42 kB / 2.896 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002352/9.375, allocations: 242.4 kB / 2.897 GB, free: 104 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/9.375, allocations: 64.31 kB / 2.897 GB, free: 104 MB / 0.9636 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 () * 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.0004464/9.376, allocations: 280.6 kB / 2.897 GB, free: 103.8 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003785/9.376, allocations: 164.7 kB / 2.897 GB, free: 103.8 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003714/9.38, allocations: 2.012 MB / 2.899 GB, free: 103.6 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.492e-05/9.38, allocations: 19.73 kB / 2.899 GB, free: 103.6 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/9.38, allocations: 7.422 kB / 2.899 GB, free: 103.6 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.284e-05/9.38, allocations: 3.375 kB / 2.899 GB, free: 103.6 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006472/9.386, allocations: 3.345 MB / 2.902 GB, free: 103 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-05/9.386, allocations: 3.969 kB / 2.902 GB, free: 103 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/9.388, allocations: 225.4 kB / 2.903 GB, free: 103 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.715e-05/9.388, allocations: 10.09 kB / 2.903 GB, free: 103 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/9.388, allocations: 41.8 kB / 2.903 GB, free: 103 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/9.388, allocations: 6.406 kB / 2.903 GB, free: 103 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/9.388, allocations: 3.625 kB / 2.903 GB, free: 103 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004275/9.392, allocations: 2.7 MB / 2.905 GB, free: 102.5 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001295/9.393, allocations: 400.5 kB / 2.906 GB, free: 102.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002797/9.394, allocations: 28.16 kB / 2.906 GB, free: 102.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/9.395, allocations: 178.2 kB / 2.906 GB, free: 102.3 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/9.395, allocations: 73.66 kB / 2.906 GB, free: 102.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/9.395, allocations: 54.39 kB / 2.906 GB, free: 102.3 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001399/9.397, allocations: 0.8092 MB / 2.907 GB, free: 102.2 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.21e-07/9.397, allocations: 6.531 kB / 2.907 GB, free: 102.2 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003886/9.401, allocations: 0.9194 MB / 2.908 GB, free: 102.2 MB / 0.9636 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) * 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.007567/9.408, allocations: 4.341 MB / 2.912 GB, free: 100.8 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004796/9.413, allocations: 2.313 MB / 2.914 GB, free: 100.3 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/9.413, allocations: 6 kB / 2.914 GB, free: 100.3 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001462/9.415, allocations: 0.897 MB / 2.915 GB, free: 100.1 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004458/9.419, allocations: 0.6295 MB / 2.916 GB, free: 100.1 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008202/9.427, allocations: 3.085 MB / 2.919 GB, free: 99.38 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000822/9.428, allocations: 1.315 MB / 2.92 GB, free: 98.67 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002409/9.431, allocations: 0.4926 MB / 2.92 GB, free: 98.65 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007501/9.431, allocations: 0.6363 MB / 2.921 GB, free: 98.64 MB / 0.9636 GB Notification: Performance of SimCode: time 1.132e-06/9.431, allocations: 0 / 2.921 GB, free: 98.64 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.136/9.567, allocations: 54.43 MB / 2.974 GB, free: 96.92 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001871/9.568, allocations: 206.8 kB / 2.974 GB, free: 96.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.012/14.58, allocations: 0 / 2.974 GB, free: 96.7 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1)