Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json 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/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001776/0.001782, allocations: 99.23 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.929/1.929, allocations: 205.4 MB / 222.1 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.814/1.814, allocations: 292.6 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00055/0.00055, allocations: 13.91 kB / 0.6737 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2836, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.8138/1.097, allocations: 160.8 MB / 0.9442 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01049/1.108, allocations: 4.897 MB / 0.949 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001991/1.11, allocations: 44.78 kB / 0.9491 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002778/1.113, allocations: 0.7827 MB / 0.9498 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006872/1.12, allocations: 1.754 MB / 0.9515 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004479/1.124, allocations: 1.19 MB / 0.9527 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004278/1.129, allocations: 1.663 MB / 0.9543 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00176/1.13, allocations: 0.7953 MB / 0.9551 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003197/1.134, allocations: 0.9837 MB / 0.9561 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002021/1.136, allocations: 0.7081 MB / 0.9568 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002167/1.136, allocations: 50.7 kB / 0.9568 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003647/1.139, allocations: 0.9413 MB / 0.9577 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000558/1.14, allocations: 375.6 kB / 0.9581 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00095/1.141, allocations: 271.9 kB / 0.9583 GB, free: 21 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002742/1.144, allocations: 1.343 MB / 0.9596 GB, free: 20.87 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/1.144, allocations: 0 / 0.9596 GB, free: 20.87 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.735e-06/1.144, allocations: 0 / 0.9596 GB, free: 20.87 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.441e-05/1.144, allocations: 4.438 kB / 0.9597 GB, free: 20.87 MB / 0.7325 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.005385/1.149, allocations: 1.717 MB / 0.9613 GB, free: 19.97 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/1.149, allocations: 8.438 kB / 0.9613 GB, free: 19.97 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002862/1.15, allocations: 140.7 kB / 0.9615 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006083/1.156, allocations: 0.9266 MB / 0.9624 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002311/1.158, allocations: 0.8688 MB / 0.9632 GB, free: 19.47 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.912e-05/1.158, allocations: 75.67 kB / 0.9633 GB, free: 19.47 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001983/1.158, allocations: 89.88 kB / 0.9634 GB, free: 19.47 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004119/1.162, allocations: 1.573 MB / 0.9649 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/1.163, allocations: 5.516 kB / 0.9649 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/1.163, allocations: 39.25 kB / 0.965 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001043/1.163, allocations: 50.25 kB / 0.965 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005158/1.168, allocations: 1.839 MB / 0.9668 GB, free: 19.28 MB / 0.7325 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.00824/1.176, allocations: 4.288 MB / 0.971 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004459/1.181, allocations: 1.59 MB / 0.9725 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005115/1.181, allocations: 175.3 kB / 0.9727 GB, free: 17 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002351/1.184, allocations: 0.9008 MB / 0.9736 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=95): time 3.356e-06/1.184, allocations: 0 / 0.9736 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=95): time 0.007574/1.191, allocations: 2.426 MB / 0.976 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.403e-05/1.191, allocations: 65.02 kB / 0.976 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/1.193, allocations: 1.202 MB / 0.9772 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001713/1.193, allocations: 47.05 kB / 0.9772 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003784/1.193, allocations: 0.5515 MB / 0.9778 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002678/1.194, allocations: 328.1 kB / 0.9781 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.831e-05/1.194, allocations: 19.22 kB / 0.9781 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001776/1.194, allocations: 344.1 kB / 0.9784 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00208/1.196, allocations: 0.6888 MB / 0.9791 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002183/1.198, allocations: 0.9185 MB / 0.98 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002126/1.2, allocations: 0.7152 MB / 0.9807 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/1.2, allocations: 2.625 kB / 0.9807 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005037/1.205, allocations: 1.756 MB / 0.9824 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.211e-05/1.206, allocations: 9.906 kB / 0.9824 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/1.206, allocations: 8.719 kB / 0.9824 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/1.206, allocations: 8.375 kB / 0.9825 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001779/1.207, allocations: 339.3 kB / 0.9828 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.56e-05/1.207, allocations: 19.5 kB / 0.9828 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002278/1.21, allocations: 258.2 kB / 0.983 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/1.21, allocations: 52.2 kB / 0.9831 GB, free: 13.49 MB / 0.7325 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.setHeaCooUnl.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaHigPow.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.0008644/1.211, allocations: 333.2 kB / 0.9834 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003067/1.211, allocations: 140.3 kB / 0.9835 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005084/1.216, allocations: 1.785 MB / 0.9853 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/1.216, allocations: 10.66 kB / 0.9853 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/1.216, allocations: 0 / 0.9853 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.895e-05/1.216, allocations: 7.938 kB / 0.9853 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008027/1.224, allocations: 3.305 MB / 0.9885 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/1.224, allocations: 2.844 kB / 0.9885 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001689/1.226, allocations: 289.3 kB / 0.9888 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-05/1.226, allocations: 9.438 kB / 0.9888 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/1.226, allocations: 35.61 kB / 0.9889 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.691e-05/1.226, allocations: 18.61 kB / 0.9889 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.709e-06/1.226, allocations: 5.875 kB / 0.9889 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008012/1.234, allocations: 3.012 MB / 0.9918 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/1.235, allocations: 331.6 kB / 0.9921 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002367/1.236, allocations: 26.75 kB / 0.9922 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001553/1.237, allocations: 170.8 kB / 0.9923 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/1.237, allocations: 80.61 kB / 0.9924 GB, free: 9.973 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/1.237, allocations: 38.22 kB / 0.9924 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001154/1.239, allocations: 0.8279 MB / 0.9932 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.3e-07/1.239, allocations: 0 / 0.9932 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001337/1.24, allocations: 348.2 kB / 0.9936 GB, free: 9.695 MB / 0.7325 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 (setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaHigPow.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.01004/1.25, allocations: 5.073 MB / 0.9985 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005366/1.255, allocations: 1.608 MB / 1 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/1.255, allocations: 0 / 1 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002484/1.258, allocations: 0.8248 MB / 1.001 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003837/1.262, allocations: 0.5922 MB / 1.001 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02443/1.286, allocations: 12.17 MB / 1.013 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008993/1.287, allocations: 1.209 MB / 1.015 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002094/1.289, allocations: 366.1 kB / 1.015 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008085/1.29, allocations: 0.5093 MB / 1.015 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of SimCode: time 1.142e-06/1.29, allocations: 0 / 1.015 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1084/1.399, allocations: 34.24 MB / 1.049 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005071/1.399, allocations: 222.1 kB / 1.049 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.964/4.363, allocations: 1.859 kB / 1.049 GB, free: 8.711 MB / 0.7794 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) Environment - environmentSimulation: