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.001089/0.001089, allocations: 108 kB / 15.61 MB, free: 152 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.001108/0.001107, allocations: 197 kB / 16.53 MB, free: 6.664 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.257/1.257, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002132/0.002132, allocations: 283 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9075/0.9075, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 100.1 kB / 0.5953 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1545, allocations: 86.98 MB / 0.6803 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.4716/0.6261, allocations: 193.8 MB / 0.8695 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008926/0.6351, allocations: 5.14 MB / 0.8746 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001367/0.6365, allocations: 47.59 kB / 0.8746 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001836/0.6383, allocations: 0.8075 MB / 0.8754 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006051/0.6444, allocations: 2.61 MB / 0.8779 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002621/0.6471, allocations: 1.1 MB / 0.879 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002997/0.6501, allocations: 2.672 MB / 0.8816 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00126/0.6513, allocations: 0.9498 MB / 0.8826 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001713/0.6531, allocations: 1.1 MB / 0.8836 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.6541, allocations: 0.9828 MB / 0.8846 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001424/0.6543, allocations: 85.5 kB / 0.8847 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003017/0.6573, allocations: 1.792 MB / 0.8864 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003919/0.6577, allocations: 447.3 kB / 0.8869 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006444/0.6584, allocations: 0.6704 MB / 0.8875 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002907/0.6613, allocations: 2.189 MB / 0.8896 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6613, allocations: 6.969 kB / 0.8897 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6613, allocations: 0 / 0.8897 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.198e-05/0.6614, allocations: 0 / 0.8897 GB, free: 15.51 MB / 0.6075 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.004666/0.666, allocations: 1.958 MB / 0.8916 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.6661, allocations: 13.7 kB / 0.8916 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001548/0.6662, allocations: 143.9 kB / 0.8917 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005285/0.6715, allocations: 0.8872 MB / 0.8926 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.6729, allocations: 0.9135 MB / 0.8935 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.404e-05/0.6729, allocations: 75.42 kB / 0.8935 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/0.6731, allocations: 88.16 kB / 0.8936 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003501/0.6766, allocations: 1.583 MB / 0.8952 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.6767, allocations: 7.938 kB / 0.8952 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/0.6768, allocations: 32 kB / 0.8952 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.402e-05/0.6768, allocations: 45.98 kB / 0.8953 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00515/0.682, allocations: 1.846 MB / 0.8971 GB, free: 9.383 MB / 0.6075 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.007239/0.6892, allocations: 4.754 MB / 0.9017 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004397/0.6936, allocations: 1.573 MB / 0.9032 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002339/0.696, allocations: 0.8429 MB / 0.9041 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001329/0.6973, allocations: 0.9491 MB / 0.905 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00255/0.6999, allocations: 0.9114 MB / 0.9059 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=95): time 6.883e-06/0.6999, allocations: 0 / 0.9059 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95): time 0.007991/0.7079, allocations: 2.458 MB / 0.9083 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.708, allocations: 60.41 kB / 0.9083 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/0.7095, allocations: 1.193 MB / 0.9095 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001159/0.7096, allocations: 49.69 kB / 0.9095 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004992/0.7101, allocations: 0.537 MB / 0.9101 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003326/0.7105, allocations: 331.3 kB / 0.9104 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003516/0.7108, allocations: 190.5 kB / 0.9106 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.711, allocations: 341.9 kB / 0.9109 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002192/0.7132, allocations: 0.6967 MB / 0.9116 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002377/0.7156, allocations: 0.9081 MB / 0.9125 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004488/0.7201, allocations: 1.558 MB / 0.914 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-06/0.7201, allocations: 6.312 kB / 0.914 GB, free: 7.426 MB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005104/0.7252, allocations: 1.776 MB / 0.9157 GB, free: 5.641 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.7252, allocations: 17.91 kB / 0.9157 GB, free: 5.625 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/0.7253, allocations: 4 kB / 0.9157 GB, free: 5.621 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.7253, allocations: 8 kB / 0.9158 GB, free: 5.613 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00181/0.7271, allocations: 339.5 kB / 0.9161 GB, free: 5.281 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.917e-05/0.7271, allocations: 9.094 kB / 0.9161 GB, free: 5.273 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/0.7287, allocations: 234.7 kB / 0.9163 GB, free: 5.043 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.7289, allocations: 43.98 kB / 0.9164 GB, free: 5 MB / 0.6231 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.0005353/0.7294, allocations: 344.3 kB / 0.9167 GB, free: 4.656 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002518/0.7297, allocations: 134.3 kB / 0.9168 GB, free: 4.523 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005134/0.7348, allocations: 1.803 MB / 0.9186 GB, free: 2.711 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.7348, allocations: 8 kB / 0.9186 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.7348, allocations: 4 kB / 0.9186 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.7349, allocations: 7.984 kB / 0.9186 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0072/0.7421, allocations: 3.339 MB / 0.9218 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.7421, allocations: 11.92 kB / 0.9219 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001661/0.7438, allocations: 291.7 kB / 0.9221 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.679e-05/0.7438, allocations: 8 kB / 0.9221 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.601e-05/0.7439, allocations: 31.97 kB / 0.9222 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.161e-05/0.7439, allocations: 8 kB / 0.9222 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.7439, allocations: 7.938 kB / 0.9222 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007382/0.7513, allocations: 2.847 MB / 0.925 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005821/0.7519, allocations: 319.2 kB / 0.9253 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002373/0.7521, allocations: 27.98 kB / 0.9253 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001431/0.7536, allocations: 155.8 kB / 0.9255 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.7538, allocations: 68.45 kB / 0.9255 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.301e-05/0.7539, allocations: 39.97 kB / 0.9256 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001013/0.7549, allocations: 0.8353 MB / 0.9264 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7549, allocations: 0 / 0.9264 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00101/0.7559, allocations: 339.6 kB / 0.9267 GB, free: 10.19 MB / 0.6387 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.008794/0.7647, allocations: 3.837 MB / 0.9304 GB, free: 6.457 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005386/0.7701, allocations: 1.786 MB / 0.9322 GB, free: 4.668 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.7701, allocations: 0 / 0.9322 GB, free: 4.668 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002417/0.7726, allocations: 0.84 MB / 0.933 GB, free: 3.832 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003032/0.7756, allocations: 0.6167 MB / 0.9336 GB, free: 3.23 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02419/0.7998, allocations: 12.87 MB / 0.9462 GB, free: 5.789 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007688/0.8006, allocations: 1.185 MB / 0.9473 GB, free: 4.574 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001559/0.8022, allocations: 358 kB / 0.9477 GB, free: 4.223 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007813/0.803, allocations: 0.5031 MB / 0.9482 GB, free: 3.723 MB / 0.6544 GB Notification: Performance of SimCode: time 5.71e-07/0.803, allocations: 4 kB / 0.9482 GB, free: 3.719 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1307/0.9337, allocations: 35.32 MB / 0.9827 GB, free: 0.8672 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.146/9.08, allocations: 11.98 kB / 0.9827 GB, free: 0.8555 MB / 0.6856 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)