Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.463/1.463, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009081/0.0009081, allocations: 183.1 kB / 326.6 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.4 MB / 0.5777 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007504/0.0007504, allocations: 80.42 kB / 0.6822 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003003/0.0003004, allocations: 10.88 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1835, allocations: 106.3 MB / 0.9003 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5803/0.7638, allocations: 176.6 MB / 1.073 GB, free: 4.141 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.007787/0.7717, allocations: 4.913 MB / 1.078 GB, free: 4 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.7728, allocations: 43.78 kB / 1.078 GB, free: 4 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001568/0.7743, allocations: 0.6124 MB / 1.078 GB, free: 3.988 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006709/0.7811, allocations: 1.862 MB / 1.08 GB, free: 3.914 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003124/0.7842, allocations: 0.9228 MB / 1.081 GB, free: 3.895 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003721/0.7879, allocations: 3.049 MB / 1.084 GB, free: 3.891 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001139/0.7891, allocations: 0.7544 MB / 1.085 GB, free: 3.801 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001979/0.7911, allocations: 1.013 MB / 1.086 GB, free: 3.797 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001302/0.7924, allocations: 0.9549 MB / 1.087 GB, free: 3.793 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001403/0.7925, allocations: 47.94 kB / 1.087 GB, free: 3.793 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002593/0.7951, allocations: 0.9286 MB / 1.088 GB, free: 3.777 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003981/0.7955, allocations: 413.1 kB / 1.088 GB, free: 3.777 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005567/0.7961, allocations: 270.9 kB / 1.088 GB, free: 19.74 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001666/0.7978, allocations: 1.394 MB / 1.09 GB, free: 19.61 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.7978, allocations: 7.188 kB / 1.09 GB, free: 19.6 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.354e-06/0.7978, allocations: 0 / 1.09 GB, free: 19.6 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.831e-05/0.7978, allocations: 3.938 kB / 1.09 GB, free: 19.6 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.004589/0.8024, allocations: 1.726 MB / 1.091 GB, free: 18.69 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.8025, allocations: 9.656 kB / 1.091 GB, free: 18.69 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000181/0.8027, allocations: 144.6 kB / 1.091 GB, free: 18.65 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005555/0.8082, allocations: 0.9343 MB / 1.092 GB, free: 18.53 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.8097, allocations: 0.871 MB / 1.093 GB, free: 18.19 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.841e-05/0.8097, allocations: 74.41 kB / 1.093 GB, free: 18.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.8099, allocations: 93.38 kB / 1.093 GB, free: 18.18 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003316/0.8132, allocations: 1.577 MB / 1.095 GB, free: 18.04 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.8132, allocations: 3.344 kB / 1.095 GB, free: 18.04 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.8134, allocations: 31.25 kB / 1.095 GB, free: 18.04 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-05/0.8134, allocations: 47.48 kB / 1.095 GB, free: 18.04 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004766/0.8182, allocations: 1.838 MB / 1.097 GB, free: 18 MB / 0.7136 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.006553/0.8247, allocations: 4.769 MB / 1.101 GB, free: 16.09 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003951/0.8287, allocations: 1.58 MB / 1.103 GB, free: 16.02 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002061/0.8308, allocations: 0.8487 MB / 1.104 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001301/0.8321, allocations: 0.9637 MB / 1.105 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0022/0.8343, allocations: 0.9015 MB / 1.106 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=95): time 3.427e-06/0.8343, allocations: 0 / 1.106 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of matching and sorting (n=95): time 0.007083/0.8414, allocations: 2.441 MB / 1.108 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.8415, allocations: 64.72 kB / 1.108 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/0.8428, allocations: 1.196 MB / 1.109 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.8429, allocations: 46.83 kB / 1.109 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003538/0.8432, allocations: 0.5496 MB / 1.11 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002199/0.8435, allocations: 324.2 kB / 1.11 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.844e-05/0.8435, allocations: 21.22 kB / 1.11 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.8437, allocations: 347.5 kB / 1.11 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001993/0.8457, allocations: 0.6929 MB / 1.111 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002109/0.8478, allocations: 0.9193 MB / 1.112 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001961/0.8498, allocations: 0.7399 MB / 1.113 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.8498, allocations: 0 / 1.113 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004432/0.8542, allocations: 1.769 MB / 1.114 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.8543, allocations: 8.844 kB / 1.114 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.8543, allocations: 4.031 kB / 1.114 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.8543, allocations: 11.56 kB / 1.114 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001668/0.856, allocations: 333.7 kB / 1.115 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/0.856, allocations: 12.56 kB / 1.115 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/0.8577, allocations: 257.9 kB / 1.115 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.8578, allocations: 48.97 kB / 1.115 GB, free: 13.35 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * 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.0006249/0.8584, allocations: 342 kB / 1.115 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002011/0.8586, allocations: 137.7 kB / 1.116 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005182/0.8638, allocations: 1.797 MB / 1.117 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-05/0.8639, allocations: 9.594 kB / 1.117 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.8639, allocations: 0 / 1.117 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.8639, allocations: 9 kB / 1.117 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006757/0.8707, allocations: 3.329 MB / 1.121 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.8707, allocations: 2.938 kB / 1.121 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001561/0.8723, allocations: 294.8 kB / 1.121 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.255e-05/0.8723, allocations: 5.125 kB / 1.121 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/0.8724, allocations: 34.28 kB / 1.121 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/0.8724, allocations: 9.375 kB / 1.121 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/0.8724, allocations: 15.95 kB / 1.121 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00669/0.8791, allocations: 2.822 MB / 1.124 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006365/0.8798, allocations: 334.2 kB / 1.124 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001923/0.88, allocations: 28.39 kB / 1.124 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001433/0.8814, allocations: 166.7 kB / 1.124 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.8815, allocations: 74.27 kB / 1.124 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.942e-05/0.8816, allocations: 46.36 kB / 1.124 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009378/0.8826, allocations: 0.8294 MB / 1.125 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8826, allocations: 0 / 1.125 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001019/0.8836, allocations: 349.5 kB / 1.125 GB, free: 10.26 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.008056/0.8917, allocations: 3.803 MB / 1.129 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004471/0.8962, allocations: 1.613 MB / 1.131 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.8962, allocations: 0 / 1.131 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002152/0.8984, allocations: 0.8309 MB / 1.132 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002923/0.9013, allocations: 0.6078 MB / 1.132 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01724/0.9186, allocations: 9.582 MB / 1.142 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006938/0.9193, allocations: 1.184 MB / 1.143 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0017/0.921, allocations: 381.4 kB / 1.143 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006873/0.9217, allocations: 0.4993 MB / 1.144 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of SimCode: time 1.123e-06/0.9217, allocations: 4 kB / 1.144 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0542/0.9759, allocations: 34.28 MB / 1.177 GB, free: 1.082 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000218/0.9762, allocations: 245.9 kB / 1.177 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.015/3.991, allocations: 0 / 1.177 GB, free: 0.8359 MB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)