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.001153/0.001153, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.584/1.584, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.71/1.71, allocations: 292.3 MB / 0.5489 GB, free: 12.78 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.001462/0.001462, allocations: 69.53 kB / 0.6716 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2576, allocations: 114.6 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6658/0.9234, allocations: 193.8 MB / 0.9728 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009495/0.9329, allocations: 4.987 MB / 0.9776 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002043/0.935, allocations: 51.62 kB / 0.9777 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002343/0.9374, allocations: 0.8145 MB / 0.9785 GB, free: 14.91 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.007941/0.9454, allocations: 2.57 MB / 0.981 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003453/0.9489, allocations: 1.116 MB / 0.9821 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004291/0.9532, allocations: 2.652 MB / 0.9847 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00195/0.9552, allocations: 0.9488 MB / 0.9856 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002527/0.9577, allocations: 1.112 MB / 0.9867 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00188/0.9596, allocations: 0.9918 MB / 0.9877 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0004394/0.9601, allocations: 88.06 kB / 0.9877 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00433/0.9644, allocations: 1.789 MB / 0.9895 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007633/0.9652, allocations: 454.2 kB / 0.9899 GB, free: 9.66 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001341/0.9665, allocations: 0.6675 MB / 0.9906 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004676/0.9712, allocations: 2.205 MB / 0.9927 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.9712, allocations: 0 / 0.9927 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.162e-06/0.9712, allocations: 0 / 0.9927 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.689e-05/0.9713, allocations: 0 / 0.9927 GB, free: 7.992 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.005637/0.9769, allocations: 1.987 MB / 0.9947 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.977, allocations: 9.531 kB / 0.9947 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002432/0.9772, allocations: 145.3 kB / 0.9948 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005491/0.9828, allocations: 0.8949 MB / 0.9957 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001636/0.9844, allocations: 0.9195 MB / 0.9966 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.001e-05/0.9845, allocations: 71.12 kB / 0.9967 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002272/0.9847, allocations: 90.56 kB / 0.9967 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003823/0.9885, allocations: 1.585 MB / 0.9983 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.9886, allocations: 7.922 kB / 0.9983 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/0.9887, allocations: 34.16 kB / 0.9983 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-05/0.9888, allocations: 49.83 kB / 0.9984 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005273/0.9941, allocations: 1.851 MB / 1 GB, free: 3.395 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.007734/1.002, allocations: 4.771 MB / 1.005 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004256/1.006, allocations: 1.551 MB / 1.006 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002145/1.008, allocations: 0.866 MB / 1.007 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001165/1.009, allocations: 0.9444 MB / 1.008 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002312/1.012, allocations: 0.909 MB / 1.009 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=95): time 3.096e-06/1.012, allocations: 0 / 1.009 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of matching and sorting (n=95): time 0.007464/1.019, allocations: 2.459 MB / 1.011 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/1.019, allocations: 66.5 kB / 1.011 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/1.021, allocations: 1.206 MB / 1.013 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001098/1.021, allocations: 47.33 kB / 1.013 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004078/1.021, allocations: 0.5532 MB / 1.013 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002732/1.021, allocations: 324.1 kB / 1.014 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003228/1.022, allocations: 189 kB / 1.014 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001297/1.022, allocations: 347.7 kB / 1.014 GB, free: 9.922 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002126/1.024, allocations: 0.6943 MB / 1.015 GB, free: 9.594 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002391/1.026, allocations: 0.9327 MB / 1.016 GB, free: 9.004 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004335/1.031, allocations: 1.554 MB / 1.017 GB, free: 8.137 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/1.031, allocations: 1.906 kB / 1.017 GB, free: 8.137 MB / 0.7481 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00498/1.036, allocations: 1.78 MB / 1.019 GB, free: 7.266 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/1.036, allocations: 7.875 kB / 1.019 GB, free: 7.266 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/1.036, allocations: 4.781 kB / 1.019 GB, free: 7.266 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/1.036, allocations: 11.84 kB / 1.019 GB, free: 7.262 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001698/1.038, allocations: 337.2 kB / 1.019 GB, free: 7.16 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-05/1.038, allocations: 17.27 kB / 1.019 GB, free: 7.152 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/1.039, allocations: 233.6 kB / 1.019 GB, free: 7.023 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.822e-05/1.039, allocations: 53.16 kB / 1.02 GB, free: 7.004 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.000526/1.04, allocations: 345.7 kB / 1.02 GB, free: 6.758 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002163/1.04, allocations: 139.9 kB / 1.02 GB, free: 6.684 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005205/1.045, allocations: 1.796 MB / 1.022 GB, free: 5.707 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/1.045, allocations: 12 kB / 1.022 GB, free: 5.695 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/1.045, allocations: 0 / 1.022 GB, free: 5.695 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/1.045, allocations: 3.984 kB / 1.022 GB, free: 5.691 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007942/1.053, allocations: 3.33 MB / 1.025 GB, free: 2.285 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.928e-06/1.053, allocations: 4 kB / 1.025 GB, free: 2.281 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001666/1.055, allocations: 298.5 kB / 1.025 GB, free: 1.992 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/1.055, allocations: 8 kB / 1.025 GB, free: 1.984 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.166e-05/1.055, allocations: 31.97 kB / 1.025 GB, free: 1.953 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.498e-06/1.055, allocations: 15.92 kB / 1.025 GB, free: 1.938 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/1.055, allocations: 4 kB / 1.025 GB, free: 1.934 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007452/1.063, allocations: 2.849 MB / 1.028 GB, free: 15.02 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007618/1.064, allocations: 323.1 kB / 1.028 GB, free: 14.69 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000212/1.064, allocations: 24 kB / 1.028 GB, free: 14.66 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001447/1.065, allocations: 159.3 kB / 1.029 GB, free: 14.51 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/1.065, allocations: 72.45 kB / 1.029 GB, free: 14.44 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-05/1.065, allocations: 39.97 kB / 1.029 GB, free: 14.4 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001065/1.067, allocations: 0.8396 MB / 1.03 GB, free: 13.56 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.6e-07/1.067, allocations: 0 / 1.03 GB, free: 13.56 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001082/1.068, allocations: 343.6 kB / 1.03 GB, free: 13.22 MB / 0.7637 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.00858/1.076, allocations: 3.826 MB / 1.034 GB, free: 9.516 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005297/1.082, allocations: 1.773 MB / 1.035 GB, free: 7.742 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/1.082, allocations: 256 / 1.035 GB, free: 7.742 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002382/1.084, allocations: 0.8427 MB / 1.036 GB, free: 6.898 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002929/1.087, allocations: 0.6422 MB / 1.037 GB, free: 6.273 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02427/1.111, allocations: 12.92 MB / 1.049 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007626/1.112, allocations: 1.187 MB / 1.051 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001682/1.114, allocations: 370.1 kB / 1.051 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007487/1.114, allocations: 0.5032 MB / 1.051 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of SimCode: time 3.466e-06/1.114, allocations: 0 / 1.051 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.755/2.869, allocations: 35.9 MB / 1.086 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.381/11.25, allocations: 6.75 kB / 1.087 GB, free: 3.25 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)