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.001046/0.001046, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.007951/0.007951, allocations: 172.7 kB / 16.26 MB, free: 6.613 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.333/1.333, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.698/1.698, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005163/0.0005164, allocations: 16.38 kB / 0.6744 GB, free: 25.62 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2116, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5911/0.8028, allocations: 189 MB / 0.9726 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00781/0.8106, allocations: 5.01 MB / 0.9775 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/0.812, allocations: 41.38 kB / 0.9775 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001784/0.8138, allocations: 0.7135 MB / 0.9782 GB, free: 14 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00658/0.8204, allocations: 2.421 MB / 0.9806 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002875/0.8233, allocations: 1.02 MB / 0.9816 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004405/0.8277, allocations: 3.582 MB / 0.9851 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001421/0.8292, allocations: 0.8334 MB / 0.9859 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002021/0.8312, allocations: 1.002 MB / 0.9869 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00169/0.8329, allocations: 1.017 MB / 0.9878 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000187/0.8331, allocations: 48.19 kB / 0.9879 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004255/0.8374, allocations: 2.063 MB / 0.9899 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004335/0.8378, allocations: 415.5 kB / 0.9903 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007527/0.8386, allocations: 0.6541 MB / 0.9909 GB, free: 9.672 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003006/0.8416, allocations: 2.257 MB / 0.9931 GB, free: 8.422 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.8416, allocations: 0 / 0.9931 GB, free: 8.422 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.607e-06/0.8416, allocations: 0 / 0.9931 GB, free: 8.422 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.707e-05/0.8416, allocations: 7.938 kB / 0.9932 GB, free: 8.414 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.004682/0.8463, allocations: 1.715 MB / 0.9948 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.8464, allocations: 8.344 kB / 0.9948 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001826/0.8466, allocations: 140.2 kB / 0.995 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005745/0.8523, allocations: 0.9352 MB / 0.9959 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.8538, allocations: 0.9164 MB / 0.9968 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.845e-05/0.8538, allocations: 74.39 kB / 0.9969 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001919/0.854, allocations: 88.31 kB / 0.9969 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00367/0.8577, allocations: 1.581 MB / 0.9985 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/0.8577, allocations: 6.438 kB / 0.9985 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/0.8579, allocations: 36 kB / 0.9985 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.778e-05/0.8579, allocations: 52.05 kB / 0.9986 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005126/0.8631, allocations: 1.841 MB / 1 GB, free: 4.062 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.00727/0.8704, allocations: 4.763 MB / 1.005 GB, free: 412 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004523/0.8749, allocations: 1.593 MB / 1.007 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002328/0.8772, allocations: 0.851 MB / 1.007 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001217/0.8785, allocations: 0.9612 MB / 1.008 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002515/0.881, allocations: 0.9084 MB / 1.009 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=95): time 2.736e-06/0.881, allocations: 7.938 kB / 1.009 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of matching and sorting (n=95): time 0.007708/0.8887, allocations: 2.442 MB / 1.012 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.8888, allocations: 64.09 kB / 1.012 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00139/0.8902, allocations: 1.208 MB / 1.013 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001128/0.8903, allocations: 46.45 kB / 1.013 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004312/0.8907, allocations: 0.5486 MB / 1.013 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002854/0.891, allocations: 324.4 kB / 1.014 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.8912, allocations: 84.39 kB / 1.014 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.8913, allocations: 341.8 kB / 1.014 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002267/0.8936, allocations: 0.7026 MB / 1.015 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002431/0.896, allocations: 0.928 MB / 1.016 GB, free: 9.859 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004477/0.9005, allocations: 1.549 MB / 1.017 GB, free: 9.023 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.9005, allocations: 0 / 1.017 GB, free: 9.023 MB / 0.7481 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005078/0.9056, allocations: 1.778 MB / 1.019 GB, free: 8.188 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.9057, allocations: 5.844 kB / 1.019 GB, free: 8.188 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.9057, allocations: 6 kB / 1.019 GB, free: 8.188 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.9057, allocations: 15.92 kB / 1.019 GB, free: 8.18 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001756/0.9075, allocations: 335.6 kB / 1.019 GB, free: 8.082 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/0.9075, allocations: 9.031 kB / 1.019 GB, free: 8.082 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/0.9092, allocations: 256.3 kB / 1.02 GB, free: 7.953 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.9093, allocations: 53 kB / 1.02 GB, free: 7.934 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.0005316/0.9099, allocations: 337.2 kB / 1.02 GB, free: 7.695 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/0.9101, allocations: 137.8 kB / 1.02 GB, free: 7.621 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005241/0.9153, allocations: 1.797 MB / 1.022 GB, free: 6.684 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.9153, allocations: 11.09 kB / 1.022 GB, free: 6.684 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.9153, allocations: 0 / 1.022 GB, free: 6.684 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/0.9154, allocations: 7.969 kB / 1.022 GB, free: 6.676 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007229/0.9226, allocations: 3.333 MB / 1.025 GB, free: 4.445 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.9226, allocations: 7.938 kB / 1.025 GB, free: 4.438 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001759/0.9244, allocations: 284.1 kB / 1.025 GB, free: 4.16 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/0.9244, allocations: 8 kB / 1.025 GB, free: 4.152 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.989e-05/0.9245, allocations: 35.97 kB / 1.025 GB, free: 4.117 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.388e-06/0.9245, allocations: 11.94 kB / 1.025 GB, free: 4.105 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.9245, allocations: 8 kB / 1.025 GB, free: 4.098 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007709/0.9322, allocations: 2.836 MB / 1.028 GB, free: 1.207 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005408/0.9328, allocations: 331.1 kB / 1.029 GB, free: 0.8633 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001866/0.933, allocations: 27.97 kB / 1.029 GB, free: 0.8359 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001505/0.9345, allocations: 171.8 kB / 1.029 GB, free: 0.668 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.9347, allocations: 76.45 kB / 1.029 GB, free: 0.5938 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-05/0.9348, allocations: 39.97 kB / 1.029 GB, free: 0.5547 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001044/0.9358, allocations: 0.8357 MB / 1.03 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9358, allocations: 0 / 1.03 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009966/0.9368, allocations: 347.6 kB / 1.03 GB, free: 15.38 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.008972/0.9458, allocations: 3.816 MB / 1.034 GB, free: 11.66 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.004972/0.9508, allocations: 1.619 MB / 1.035 GB, free: 10.05 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.9508, allocations: 0 / 1.035 GB, free: 10.05 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002473/0.9533, allocations: 0.8396 MB / 1.036 GB, free: 9.215 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003698/0.957, allocations: 0.6141 MB / 1.037 GB, free: 8.613 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02641/0.9834, allocations: 13.39 MB / 1.05 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000748/0.9842, allocations: 1.179 MB / 1.051 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001647/0.9858, allocations: 370.2 kB / 1.051 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008304/0.9867, allocations: 0.511 MB / 1.052 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of SimCode: time 5.21e-07/0.9867, allocations: 4 kB / 1.052 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.399/4.385, allocations: 34.23 MB / 1.085 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002145/4.385, allocations: 240.6 kB / 1.085 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.92/7.305, allocations: 0 / 1.085 GB, free: 6.566 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)