Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.83/2.83, allocations: 287.5 MB / 302.4 MB, free: 8.262 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.00146/0.00146, allocations: 181.4 kB / 371 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.075/2.075, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009271/0.0009268, allocations: 105.2 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006552/0.0006556, allocations: 11.89 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2312, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.8955/1.127, allocations: 176.3 MB / 1.151 GB, free: 9.535 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01272/1.14, allocations: 4.757 MB / 1.155 GB, free: 6.891 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001865/1.141, allocations: 44.53 kB / 1.155 GB, free: 6.867 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002744/1.144, allocations: 0.6219 MB / 1.156 GB, free: 6.496 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008218/1.153, allocations: 1.869 MB / 1.158 GB, free: 5.078 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004317/1.157, allocations: 0.9251 MB / 1.159 GB, free: 4.441 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006163/1.163, allocations: 3.048 MB / 1.162 GB, free: 2.633 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002089/1.165, allocations: 0.7541 MB / 1.162 GB, free: 2.16 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003452/1.169, allocations: 1.007 MB / 1.163 GB, free: 1.641 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002674/1.171, allocations: 0.9471 MB / 1.164 GB, free: 1.129 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003544/1.172, allocations: 52.06 kB / 1.164 GB, free: 1.125 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004523/1.176, allocations: 0.9441 MB / 1.165 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.00103/1.177, allocations: 407.9 kB / 1.166 GB, free: 408 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008555/1.178, allocations: 270.2 kB / 1.166 GB, free: 256 kB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003721/1.182, allocations: 1.392 MB / 1.167 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.008e-05/1.182, allocations: 9.312 kB / 1.167 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.564e-06/1.182, allocations: 0 / 1.167 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.229e-05/1.182, allocations: 0 / 1.167 GB, free: 15.38 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.008727/1.191, allocations: 1.726 MB / 1.169 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/1.191, allocations: 9.219 kB / 1.169 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004121/1.191, allocations: 143.1 kB / 1.169 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009699/1.201, allocations: 0.9252 MB / 1.17 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002827/1.204, allocations: 0.8669 MB / 1.171 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/1.204, allocations: 73.16 kB / 1.171 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000318/1.204, allocations: 101.6 kB / 1.171 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006899/1.211, allocations: 1.578 MB / 1.173 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.233e-05/1.211, allocations: 0 / 1.173 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001867/1.212, allocations: 39.72 kB / 1.173 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.512e-05/1.212, allocations: 48.73 kB / 1.173 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009468/1.221, allocations: 1.839 MB / 1.174 GB, free: 11.01 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.01375/1.235, allocations: 4.756 MB / 1.179 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007853/1.243, allocations: 1.586 MB / 1.181 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004137/1.247, allocations: 0.8492 MB / 1.181 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002028/1.249, allocations: 0.9553 MB / 1.182 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004502/1.254, allocations: 0.9086 MB / 1.183 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=95): time 5.601e-06/1.254, allocations: 0 / 1.183 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of matching and sorting (n=95): time 0.01405/1.268, allocations: 2.441 MB / 1.186 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.419e-05/1.268, allocations: 60.28 kB / 1.186 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002257/1.27, allocations: 1.202 MB / 1.187 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003367/1.271, allocations: 47.48 kB / 1.187 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006658/1.271, allocations: 0.5467 MB / 1.187 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005376/1.272, allocations: 327.7 kB / 1.188 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/1.272, allocations: 22.06 kB / 1.188 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001746/1.272, allocations: 345.5 kB / 1.188 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003891/1.276, allocations: 0.6935 MB / 1.189 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004351/1.281, allocations: 0.9275 MB / 1.19 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004031/1.285, allocations: 0.7277 MB / 1.19 GB, free: 432 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/1.285, allocations: 2.156 kB / 1.19 GB, free: 432 kB / 0.7136 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.009151/1.294, allocations: 1.767 MB / 1.192 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.591e-05/1.294, allocations: 8.062 kB / 1.192 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/1.294, allocations: 5.844 kB / 1.192 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.112e-05/1.294, allocations: 7.5 kB / 1.192 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003417/1.297, allocations: 339.9 kB / 1.193 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.874e-05/1.297, allocations: 14.86 kB / 1.193 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003259/1.301, allocations: 258.7 kB / 1.193 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002969/1.301, allocations: 46.89 kB / 1.193 GB, free: 15.32 MB / 0.7292 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.0009681/1.302, allocations: 352.9 kB / 1.193 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004721/1.303, allocations: 135.9 kB / 1.193 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009486/1.312, allocations: 1.796 MB / 1.195 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-05/1.312, allocations: 8 kB / 1.195 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/1.312, allocations: 0 / 1.195 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-05/1.312, allocations: 3.984 kB / 1.195 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01388/1.326, allocations: 3.329 MB / 1.198 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.629e-05/1.326, allocations: 4 kB / 1.198 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003261/1.329, allocations: 291.6 kB / 1.199 GB, free: 9.801 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.21e-05/1.329, allocations: 12 kB / 1.199 GB, free: 9.789 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002311/1.33, allocations: 35.97 kB / 1.199 GB, free: 9.754 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.211e-05/1.33, allocations: 4 kB / 1.199 GB, free: 9.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-05/1.33, allocations: 15.92 kB / 1.199 GB, free: 9.734 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01388/1.344, allocations: 2.824 MB / 1.201 GB, free: 6.844 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001226/1.345, allocations: 331.1 kB / 1.202 GB, free: 6.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000494/1.345, allocations: 24 kB / 1.202 GB, free: 6.477 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002965/1.348, allocations: 179.7 kB / 1.202 GB, free: 6.301 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003183/1.349, allocations: 76.45 kB / 1.202 GB, free: 6.223 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002009/1.349, allocations: 35.97 kB / 1.202 GB, free: 6.188 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001856/1.351, allocations: 0.8279 MB / 1.203 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.266e-06/1.351, allocations: 4 kB / 1.203 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002021/1.353, allocations: 347.5 kB / 1.203 GB, free: 5.012 MB / 0.7292 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.01609/1.369, allocations: 3.807 MB / 1.207 GB, free: 1.297 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00905/1.378, allocations: 1.611 MB / 1.208 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/1.378, allocations: 3.938 kB / 1.208 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.004459/1.383, allocations: 0.8321 MB / 1.209 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005614/1.388, allocations: 0.6077 MB / 1.21 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03497/1.423, allocations: 9.574 MB / 1.219 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001177/1.425, allocations: 1.187 MB / 1.22 GB, free: 3.027 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003023/1.428, allocations: 374.2 kB / 1.221 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001571/1.429, allocations: 0.5031 MB / 1.221 GB, free: 2.156 MB / 0.7448 GB Notification: Performance of SimCode: time 1.453e-06/1.429, allocations: 0 / 1.221 GB, free: 2.156 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1009/1.53, allocations: 34.28 MB / 1.255 GB, free: 228 kB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003812/1.531, allocations: 227.1 kB / 1.255 GB, free: 15.98 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.967/5.497, allocations: 0 / 1.255 GB, free: 15.98 MB / 0.7917 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)