Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_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.006495/0.006495, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001665/0.001665, allocations: 194.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002886/0.002886, allocations: 275.2 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.107/1.107, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002915/0.002915, allocations: 92.28 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1832, allocations: 86.98 MB / 0.7659 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6054/0.7886, allocations: 193.8 MB / 0.9552 GB, free: 1.227 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01072/0.7994, allocations: 5.149 MB / 0.9602 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001586/0.801, allocations: 51.62 kB / 0.9603 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002341/0.8035, allocations: 0.8081 MB / 0.9611 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00693/0.8104, allocations: 2.606 MB / 0.9636 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0031/0.8135, allocations: 1.108 MB / 0.9647 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003971/0.8175, allocations: 2.679 MB / 0.9673 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001764/0.8193, allocations: 0.9406 MB / 0.9682 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002377/0.8217, allocations: 1.109 MB / 0.9693 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001792/0.8235, allocations: 0.9884 MB / 0.9703 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002945/0.8238, allocations: 88 kB / 0.9704 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003748/0.8276, allocations: 1.789 MB / 0.9721 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006532/0.8283, allocations: 454.6 kB / 0.9725 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001145/0.8294, allocations: 0.669 MB / 0.9732 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004362/0.8338, allocations: 2.224 MB / 0.9754 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.8339, allocations: 0 / 0.9754 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.707e-06/0.8339, allocations: 3.984 kB / 0.9754 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.547e-05/0.8339, allocations: 4 kB / 0.9754 GB, free: 12.5 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.0062/0.8401, allocations: 2.013 MB / 0.9773 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.8402, allocations: 11.97 kB / 0.9774 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002993/0.8405, allocations: 135.6 kB / 0.9775 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006119/0.8466, allocations: 0.908 MB / 0.9784 GB, free: 9.371 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002222/0.8489, allocations: 0.9792 MB / 0.9793 GB, free: 8.336 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.755e-05/0.849, allocations: 73.98 kB / 0.9794 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003114/0.8493, allocations: 95.94 kB / 0.9795 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0045/0.8538, allocations: 1.583 MB / 0.981 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.957e-05/0.8539, allocations: 3.938 kB / 0.981 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001658/0.8541, allocations: 36 kB / 0.9811 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.109e-05/0.8542, allocations: 53.98 kB / 0.9811 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006066/0.8602, allocations: 1.842 MB / 0.9829 GB, free: 4.617 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.009957/0.8702, allocations: 4.735 MB / 0.9875 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005073/0.8753, allocations: 1.565 MB / 0.9891 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002637/0.878, allocations: 0.8468 MB / 0.9899 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001497/0.8795, allocations: 0.9491 MB / 0.9908 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002912/0.8825, allocations: 0.9187 MB / 0.9917 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=95): time 3.887e-06/0.8825, allocations: 0 / 0.9917 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of matching and sorting (n=95): time 0.008761/0.8913, allocations: 2.459 MB / 0.9941 GB, free: 8.703 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.8914, allocations: 60.41 kB / 0.9942 GB, free: 8.633 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001792/0.8932, allocations: 1.193 MB / 0.9954 GB, free: 7.43 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0002105/0.8934, allocations: 49.7 kB / 0.9954 GB, free: 7.375 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005512/0.894, allocations: 0.5453 MB / 0.9959 GB, free: 6.824 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004516/0.8944, allocations: 341.1 kB / 0.9963 GB, free: 6.488 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000452/0.8949, allocations: 194.6 kB / 0.9964 GB, free: 6.293 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.8951, allocations: 345.9 kB / 0.9968 GB, free: 5.949 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002377/0.8975, allocations: 0.6966 MB / 0.9975 GB, free: 5.25 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002612/0.9001, allocations: 0.9113 MB / 0.9983 GB, free: 4.273 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004904/0.905, allocations: 1.546 MB / 0.9999 GB, free: 2.668 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.9051, allocations: 11.94 kB / 0.9999 GB, free: 2.656 MB / 0.7481 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005793/0.9109, allocations: 1.784 MB / 1.002 GB, free: 0.8633 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/0.9109, allocations: 8.438 kB / 1.002 GB, free: 0.8555 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.911, allocations: 11.98 kB / 1.002 GB, free: 0.8438 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.014e-05/0.911, allocations: 8.875 kB / 1.002 GB, free: 0.8359 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002057/0.9131, allocations: 331.5 kB / 1.002 GB, free: 0.5117 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.463e-05/0.9131, allocations: 12.09 kB / 1.002 GB, free: 0.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/0.915, allocations: 246.9 kB / 1.002 GB, free: 264 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00027/0.9153, allocations: 47.97 kB / 1.002 GB, free: 216 kB / 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.0009197/0.9163, allocations: 344.2 kB / 1.003 GB, free: 15.87 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003811/0.9166, allocations: 143.1 kB / 1.003 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006008/0.9227, allocations: 1.81 MB / 1.004 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.9227, allocations: 8 kB / 1.004 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.9227, allocations: 3.984 kB / 1.004 GB, free: 13.9 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.699e-05/0.9227, allocations: 7.984 kB / 1.004 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009068/0.9318, allocations: 3.313 MB / 1.008 GB, free: 10.47 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.016e-05/0.9319, allocations: 8.062 kB / 1.008 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002064/0.934, allocations: 287.5 kB / 1.008 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.779e-05/0.934, allocations: 8 kB / 1.008 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002385/0.9343, allocations: 35.97 kB / 1.008 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.267e-05/0.9343, allocations: 11.92 kB / 1.008 GB, free: 10.13 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/0.9343, allocations: 8 kB / 1.008 GB, free: 10.12 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008631/0.9429, allocations: 2.852 MB / 1.011 GB, free: 7.203 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008259/0.9438, allocations: 327.9 kB / 1.011 GB, free: 6.863 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003326/0.9442, allocations: 24 kB / 1.011 GB, free: 6.84 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001728/0.9459, allocations: 151.8 kB / 1.011 GB, free: 6.691 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/0.9461, allocations: 76.45 kB / 1.011 GB, free: 6.617 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001311/0.9463, allocations: 39.97 kB / 1.011 GB, free: 6.578 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001266/0.9475, allocations: 0.8315 MB / 1.012 GB, free: 5.742 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9475, allocations: 0 / 1.012 GB, free: 5.742 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001418/0.949, allocations: 339.7 kB / 1.013 GB, free: 5.41 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.01079/0.9598, allocations: 3.841 MB / 1.016 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00567/0.9655, allocations: 1.646 MB / 1.018 GB, free: 24 kB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/0.9655, allocations: 4 kB / 1.018 GB, free: 20 kB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002862/0.9684, allocations: 0.836 MB / 1.019 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003537/0.972, allocations: 0.6176 MB / 1.019 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03187/1.004, allocations: 12.08 MB / 1.031 GB, free: 2.168 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001218/1.005, allocations: 1.179 MB / 1.032 GB, free: 0.9609 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001718/1.007, allocations: 366 kB / 1.033 GB, free: 0.6016 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001145/1.008, allocations: 0.5032 MB / 1.033 GB, free: 100 kB / 0.7794 GB Notification: Performance of SimCode: time 1.021e-06/1.008, allocations: 0 / 1.033 GB, free: 100 kB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08767/1.096, allocations: 35.71 MB / 1.068 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.25/14.35, allocations: 13.38 kB / 1.068 GB, free: 12.84 MB / 0.8262 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)