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.001082/0.001082, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001068/0.001068, allocations: 193.2 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.334/1.334, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.657/1.657, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.001427/0.001427, allocations: 67.72 kB / 0.6711 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1799, allocations: 114.6 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5222/0.7021, allocations: 191.3 MB / 0.9698 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006806/0.709, allocations: 4.982 MB / 0.9747 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008331/0.7098, allocations: 45.31 kB / 0.9747 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001488/0.7114, allocations: 0.7301 MB / 0.9754 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004767/0.7162, allocations: 2.419 MB / 0.9778 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002044/0.7182, allocations: 1.025 MB / 0.9788 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002451/0.7207, allocations: 2.67 MB / 0.9814 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.7217, allocations: 0.9327 MB / 0.9823 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001491/0.7232, allocations: 1.144 MB / 0.9834 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000938/0.7241, allocations: 1.059 MB / 0.9845 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001273/0.7243, allocations: 88 kB / 0.9846 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002702/0.727, allocations: 1.86 MB / 0.9864 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004254/0.7274, allocations: 455.6 kB / 0.9868 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007015/0.7281, allocations: 0.6764 MB / 0.9875 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00318/0.7313, allocations: 2.33 MB / 0.9897 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.7313, allocations: 0 / 0.9897 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.924e-06/0.7313, allocations: 2.719 kB / 0.9897 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.771e-05/0.7314, allocations: 4 kB / 0.9897 GB, free: 4.211 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.004541/0.7359, allocations: 1.974 MB / 0.9917 GB, free: 19.25 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.736, allocations: 15.44 kB / 0.9917 GB, free: 19.25 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000177/0.7361, allocations: 142.7 kB / 0.9918 GB, free: 19.21 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005272/0.7414, allocations: 0.8943 MB / 0.9927 GB, free: 19.1 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.7427, allocations: 0.9145 MB / 0.9936 GB, free: 18.71 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.635e-05/0.7427, allocations: 73.17 kB / 0.9937 GB, free: 18.7 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.7429, allocations: 97.83 kB / 0.9938 GB, free: 18.7 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003135/0.746, allocations: 1.58 MB / 0.9953 GB, free: 18.26 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.7461, allocations: 3.328 kB / 0.9953 GB, free: 18.26 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.7462, allocations: 35.52 kB / 0.9953 GB, free: 18.23 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.537e-05/0.7462, allocations: 49.03 kB / 0.9954 GB, free: 18.23 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004502/0.7507, allocations: 1.845 MB / 0.9972 GB, free: 17.73 MB / 0.7481 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.006204/0.757, allocations: 4.751 MB / 1.002 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003799/0.7608, allocations: 1.559 MB / 1.003 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001938/0.7627, allocations: 0.8603 MB / 1.004 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001181/0.7639, allocations: 0.9442 MB / 1.005 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002288/0.7662, allocations: 0.9167 MB / 1.006 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=95): time 3.807e-06/0.7662, allocations: 0 / 1.006 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of matching and sorting (n=95): time 0.007593/0.7738, allocations: 2.457 MB / 1.008 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.7739, allocations: 60.28 kB / 1.008 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/0.7755, allocations: 1.209 MB / 1.01 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001437/0.7756, allocations: 47.88 kB / 1.01 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000431/0.7761, allocations: 0.5471 MB / 1.01 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003058/0.7764, allocations: 330.7 kB / 1.011 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003505/0.7767, allocations: 191.9 kB / 1.011 GB, free: 9.973 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.7769, allocations: 341.9 kB / 1.011 GB, free: 9.641 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002086/0.779, allocations: 0.7018 MB / 1.012 GB, free: 9.305 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002225/0.7812, allocations: 0.9281 MB / 1.013 GB, free: 8.723 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004099/0.7853, allocations: 1.553 MB / 1.014 GB, free: 7.875 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.7853, allocations: 0 / 1.014 GB, free: 7.875 MB / 0.7481 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004801/0.7901, allocations: 1.784 MB / 1.016 GB, free: 7.031 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.7902, allocations: 7.375 kB / 1.016 GB, free: 7.031 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.7902, allocations: 5.25 kB / 1.016 GB, free: 7.031 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.7902, allocations: 12.45 kB / 1.016 GB, free: 7.027 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001783/0.792, allocations: 339.5 kB / 1.016 GB, free: 6.938 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-05/0.792, allocations: 13.97 kB / 1.016 GB, free: 6.934 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/0.7938, allocations: 259 kB / 1.017 GB, free: 6.793 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/0.794, allocations: 51.97 kB / 1.017 GB, free: 6.773 MB / 0.7481 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 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006114/0.7946, allocations: 332 kB / 1.017 GB, free: 6.555 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003117/0.7949, allocations: 141.7 kB / 1.017 GB, free: 6.477 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00501/0.7999, allocations: 1.803 MB / 1.019 GB, free: 5.516 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/0.8, allocations: 10.12 kB / 1.019 GB, free: 5.516 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.8, allocations: 4 kB / 1.019 GB, free: 5.512 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.8, allocations: 3.984 kB / 1.019 GB, free: 5.508 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007065/0.8071, allocations: 3.332 MB / 1.022 GB, free: 3.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.8071, allocations: 9.219 kB / 1.022 GB, free: 3.477 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001649/0.8087, allocations: 287.1 kB / 1.022 GB, free: 3.395 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.255e-05/0.8088, allocations: 6.906 kB / 1.022 GB, free: 3.395 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/0.8089, allocations: 33.69 kB / 1.022 GB, free: 3.375 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-05/0.8089, allocations: 14.05 kB / 1.022 GB, free: 3.371 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.8089, allocations: 4.75 kB / 1.022 GB, free: 3.371 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006983/0.8159, allocations: 2.841 MB / 1.025 GB, free: 1.809 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000581/0.8165, allocations: 324.3 kB / 1.025 GB, free: 1.543 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002769/0.8168, allocations: 21.5 kB / 1.025 GB, free: 1.531 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001556/0.8183, allocations: 181.1 kB / 1.026 GB, free: 1.449 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.8185, allocations: 73.69 kB / 1.026 GB, free: 1.41 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.952e-05/0.8186, allocations: 47.62 kB / 1.026 GB, free: 1.391 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001018/0.8196, allocations: 0.8373 MB / 1.027 GB, free: 0.957 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8196, allocations: 0 / 1.027 GB, free: 0.957 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001082/0.8207, allocations: 335.6 kB / 1.027 GB, free: 0.9062 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008791/0.8295, allocations: 3.827 MB / 1.031 GB, free: 14.1 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005271/0.8348, allocations: 1.786 MB / 1.032 GB, free: 12.35 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.8348, allocations: 0 / 1.032 GB, free: 12.35 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.00277/0.8376, allocations: 0.8405 MB / 1.033 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003123/0.8408, allocations: 0.6454 MB / 1.034 GB, free: 10.92 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0258/0.8666, allocations: 13.29 MB / 1.047 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00079/0.8674, allocations: 1.183 MB / 1.048 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001694/0.8691, allocations: 374.2 kB / 1.048 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008469/0.87, allocations: 0.5032 MB / 1.049 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of SimCode: time 5.51e-07/0.87, allocations: 0 / 1.049 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5367/1.407, allocations: 35.59 MB / 1.084 GB, free: 7.988 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002917/1.407, allocations: 244.9 kB / 1.084 GB, free: 7.73 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.617/4.024, allocations: 0 / 1.084 GB, free: 7.73 MB / 0.8106 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/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)