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.001182/0.001187, allocations: 105.4 kB / 15.7 MB, free: 24 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.001374/0.001374, allocations: 198.8 kB / 16.64 MB, free: 6.453 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.383/1.383, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.719/1.719, allocations: 292.3 MB / 0.549 GB, free: 12.72 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.001561/0.001561, allocations: 73.17 kB / 0.6718 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2469, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.7035/0.9504, allocations: 193.8 MB / 0.9729 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009559/0.96, allocations: 4.998 MB / 0.9778 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001996/0.9621, allocations: 52.25 kB / 0.9779 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002294/0.9644, allocations: 0.8154 MB / 0.9787 GB, free: 14.96 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.007329/0.9718, allocations: 2.562 MB / 0.9812 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003278/0.9751, allocations: 1.132 MB / 0.9823 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004635/0.9798, allocations: 2.653 MB / 0.9849 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001828/0.9816, allocations: 0.9474 MB / 0.9858 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002734/0.9844, allocations: 1.116 MB / 0.9869 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002118/0.9865, allocations: 0.9951 MB / 0.9878 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003922/0.987, allocations: 87.47 kB / 0.9879 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005001/0.992, allocations: 1.787 MB / 0.9897 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.00081/0.9928, allocations: 453.5 kB / 0.9901 GB, free: 9.605 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001311/0.9942, allocations: 0.6709 MB / 0.9908 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005875/1, allocations: 2.234 MB / 0.9929 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/1, allocations: 0 / 0.9929 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.144e-06/1, allocations: 6.594 kB / 0.993 GB, free: 7.918 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.003e-05/1, allocations: 0 / 0.993 GB, free: 7.918 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.006005/1.006, allocations: 1.974 MB / 0.9949 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/1.006, allocations: 14.19 kB / 0.9949 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002133/1.006, allocations: 142.4 kB / 0.995 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005631/1.012, allocations: 0.8913 MB / 0.9959 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002477/1.015, allocations: 0.9975 MB / 0.9969 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.596e-05/1.015, allocations: 73.91 kB / 0.9969 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002107/1.015, allocations: 88.59 kB / 0.997 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004159/1.019, allocations: 1.588 MB / 0.9986 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/1.019, allocations: 2.094 kB / 0.9986 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/1.019, allocations: 33.47 kB / 0.9986 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.674e-05/1.019, allocations: 48.05 kB / 0.9987 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005163/1.025, allocations: 1.85 MB / 1 GB, free: 3.293 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.008169/1.033, allocations: 4.746 MB / 1.005 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0044/1.037, allocations: 1.56 MB / 1.007 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002269/1.039, allocations: 0.8599 MB / 1.007 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001289/1.041, allocations: 0.9383 MB / 1.008 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002665/1.043, allocations: 0.9204 MB / 1.009 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=95): time 4.348e-06/1.043, allocations: 0 / 1.009 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of matching and sorting (n=95): time 0.007784/1.051, allocations: 2.447 MB / 1.012 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.023e-05/1.051, allocations: 62.41 kB / 1.012 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/1.053, allocations: 1.211 MB / 1.013 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001921/1.053, allocations: 53.45 kB / 1.013 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000444/1.054, allocations: 0.5433 MB / 1.013 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003282/1.054, allocations: 326.1 kB / 1.014 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003599/1.054, allocations: 196.6 kB / 1.014 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001472/1.054, allocations: 344.1 kB / 1.014 GB, free: 9.832 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002174/1.057, allocations: 0.6966 MB / 1.015 GB, free: 9.5 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002425/1.059, allocations: 0.9321 MB / 1.016 GB, free: 8.914 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004477/1.064, allocations: 1.551 MB / 1.017 GB, free: 8.051 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/1.064, allocations: 2.562 kB / 1.017 GB, free: 8.051 MB / 0.7481 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005391/1.069, allocations: 1.782 MB / 1.019 GB, free: 7.18 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.583e-05/1.069, allocations: 5.344 kB / 1.019 GB, free: 7.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/1.069, allocations: 5.062 kB / 1.019 GB, free: 7.18 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.273e-05/1.069, allocations: 10.03 kB / 1.019 GB, free: 7.18 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/1.071, allocations: 344.6 kB / 1.02 GB, free: 7.066 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.383e-05/1.071, allocations: 17.55 kB / 1.02 GB, free: 7.059 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/1.073, allocations: 238 kB / 1.02 GB, free: 6.93 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/1.073, allocations: 48.62 kB / 1.02 GB, free: 6.914 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.0006807/1.074, allocations: 336.6 kB / 1.02 GB, free: 6.672 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002643/1.074, allocations: 143.4 kB / 1.02 GB, free: 6.594 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004985/1.079, allocations: 1.799 MB / 1.022 GB, free: 5.594 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/1.079, allocations: 12 kB / 1.022 GB, free: 5.582 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/1.079, allocations: 0 / 1.022 GB, free: 5.582 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/1.079, allocations: 3.984 kB / 1.022 GB, free: 5.578 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0075/1.086, allocations: 3.329 MB / 1.025 GB, free: 2.172 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.193e-05/1.087, allocations: 9.625 kB / 1.025 GB, free: 2.164 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001628/1.088, allocations: 292 kB / 1.026 GB, free: 1.879 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.178e-05/1.088, allocations: 12 kB / 1.026 GB, free: 1.867 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.735e-05/1.088, allocations: 31.97 kB / 1.026 GB, free: 1.836 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.518e-05/1.088, allocations: 15.92 kB / 1.026 GB, free: 1.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/1.088, allocations: 4 kB / 1.026 GB, free: 1.816 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00746/1.096, allocations: 2.847 MB / 1.028 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007166/1.097, allocations: 331.1 kB / 1.029 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003157/1.097, allocations: 20 kB / 1.029 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001489/1.098, allocations: 157.9 kB / 1.029 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/1.099, allocations: 68.52 kB / 1.029 GB, free: 14.33 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/1.099, allocations: 46.16 kB / 1.029 GB, free: 14.29 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001135/1.1, allocations: 0.8357 MB / 1.03 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/1.1, allocations: 3.938 kB / 1.03 GB, free: 13.44 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001152/1.101, allocations: 339.6 kB / 1.03 GB, free: 13.11 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.009112/1.11, allocations: 3.813 MB / 1.034 GB, free: 9.414 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005125/1.115, allocations: 1.635 MB / 1.035 GB, free: 7.781 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/1.115, allocations: 0 / 1.035 GB, free: 7.781 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002522/1.118, allocations: 0.8467 MB / 1.036 GB, free: 6.934 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003385/1.121, allocations: 0.633 MB / 1.037 GB, free: 6.316 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02806/1.149, allocations: 12.09 MB / 1.049 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001179/1.151, allocations: 1.191 MB / 1.05 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001665/1.152, allocations: 370.1 kB / 1.05 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009837/1.153, allocations: 0.5032 MB / 1.051 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of SimCode: time 1.633e-06/1.153, allocations: 0 / 1.051 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07269/1.226, allocations: 35.9 MB / 1.086 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/11.46, allocations: 8.047 kB / 1.086 GB, free: 4.398 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)