Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_9_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.001114/0.001118, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001169/0.001169, allocations: 193.2 kB / 16.26 MB, free: 6.621 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.368/1.368, allocations: 222.9 MB / 239.9 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.46/2.46, allocations: 390.2 MB / 0.6644 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001326, allocations: 63.89 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6415/0.6428, allocations: 140.3 MB / 0.9492 GB, free: 9.434 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2095/0.8523, allocations: 191.3 MB / 1.136 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01008/0.8625, allocations: 5.127 MB / 1.141 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001741/0.8642, allocations: 43.62 kB / 1.141 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002335/0.8666, allocations: 0.7273 MB / 1.142 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007669/0.8743, allocations: 2.448 MB / 1.144 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003357/0.8777, allocations: 1.011 MB / 1.145 GB, free: 8.824 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004577/0.8823, allocations: 2.699 MB / 1.148 GB, free: 6.113 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001886/0.8842, allocations: 0.9483 MB / 1.149 GB, free: 5.156 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002711/0.8869, allocations: 1.136 MB / 1.15 GB, free: 4.016 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001867/0.8888, allocations: 1.043 MB / 1.151 GB, free: 2.969 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004062/0.8892, allocations: 88 kB / 1.151 GB, free: 2.883 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004065/0.8933, allocations: 1.858 MB / 1.153 GB, free: 1.02 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0007634/0.8941, allocations: 458.6 kB / 1.153 GB, free: 0.5703 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001438/0.8956, allocations: 0.6643 MB / 1.154 GB, free: 15.9 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004657/0.9002, allocations: 2.305 MB / 1.156 GB, free: 13.59 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.9002, allocations: 4 kB / 1.156 GB, free: 13.59 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9003, allocations: 0 / 1.156 GB, free: 13.59 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.071e-05/0.9003, allocations: 0 / 1.156 GB, free: 13.59 MB / 0.92 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.006153/0.9065, allocations: 1.957 MB / 1.158 GB, free: 11.57 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.9066, allocations: 8.031 kB / 1.158 GB, free: 11.56 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003008/0.9069, allocations: 139.6 kB / 1.158 GB, free: 11.41 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005772/0.9126, allocations: 0.8955 MB / 1.159 GB, free: 10.52 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001744/0.9144, allocations: 0.9136 MB / 1.16 GB, free: 9.547 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.409e-05/0.9145, allocations: 66 kB / 1.16 GB, free: 9.48 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000228/0.9147, allocations: 91.98 kB / 1.16 GB, free: 9.391 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004333/0.9191, allocations: 1.579 MB / 1.162 GB, free: 7.781 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.244e-05/0.9191, allocations: 4 kB / 1.162 GB, free: 7.777 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001485/0.9193, allocations: 36 kB / 1.162 GB, free: 7.742 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.658e-05/0.9194, allocations: 49.92 kB / 1.162 GB, free: 7.691 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005689/0.9251, allocations: 1.85 MB / 1.164 GB, free: 5.84 MB / 0.92 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.008834/0.9339, allocations: 4.73 MB / 1.168 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004509/0.9384, allocations: 1.56 MB / 1.17 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002277/0.9407, allocations: 0.8508 MB / 1.171 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001387/0.9421, allocations: 0.9413 MB / 1.171 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002505/0.9446, allocations: 0.9183 MB / 1.172 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=95): time 3.747e-06/0.9447, allocations: 0 / 1.172 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of matching and sorting (n=95): time 0.007639/0.9523, allocations: 2.45 MB / 1.175 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.9524, allocations: 72.33 kB / 1.175 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001791/0.9542, allocations: 1.197 MB / 1.176 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001613/0.9544, allocations: 41.7 kB / 1.176 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005025/0.9549, allocations: 0.5409 MB / 1.177 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003739/0.9553, allocations: 327.3 kB / 1.177 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000402/0.9557, allocations: 186.5 kB / 1.177 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.9558, allocations: 341.9 kB / 1.177 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00219/0.958, allocations: 0.7045 MB / 1.178 GB, free: 6.5 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002348/0.9604, allocations: 0.9113 MB / 1.179 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004301/0.9647, allocations: 1.558 MB / 1.18 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.9647, allocations: 0 / 1.18 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005098/0.9698, allocations: 1.776 MB / 1.182 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.9699, allocations: 8 kB / 1.182 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.9699, allocations: 4 kB / 1.182 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.868e-05/0.9699, allocations: 8 kB / 1.182 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001826/0.9718, allocations: 347.9 kB / 1.183 GB, free: 1.762 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.981e-05/0.9718, allocations: 11.94 kB / 1.183 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001803/0.9736, allocations: 254.7 kB / 1.183 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/0.9738, allocations: 47.97 kB / 1.183 GB, free: 1.453 MB / 0.9356 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.0006833/0.9745, allocations: 332.3 kB / 1.183 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003635/0.9748, allocations: 138.3 kB / 1.183 GB, free: 0.9844 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005573/0.9804, allocations: 1.811 MB / 1.185 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.9804, allocations: 8 kB / 1.185 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.9804, allocations: 0 / 1.185 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.9805, allocations: 3.984 kB / 1.185 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007697/0.9882, allocations: 3.328 MB / 1.188 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.9882, allocations: 4 kB / 1.188 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001701/0.9899, allocations: 295.8 kB / 1.189 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.376e-05/0.9899, allocations: 4 kB / 1.189 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001149/0.99, allocations: 39.91 kB / 1.189 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.047e-05/0.9901, allocations: 4 kB / 1.189 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/0.9901, allocations: 8.094 kB / 1.189 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007551/0.9976, allocations: 2.855 MB / 1.191 GB, free: 8.449 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006797/0.9983, allocations: 319.1 kB / 1.192 GB, free: 8.117 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003088/0.9987, allocations: 31.98 kB / 1.192 GB, free: 8.086 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001634/1, allocations: 175.7 kB / 1.192 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/1, allocations: 72.45 kB / 1.192 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/1.001, allocations: 39.97 kB / 1.192 GB, free: 7.805 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.00118/1.002, allocations: 0.8353 MB / 1.193 GB, free: 6.965 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.41e-07/1.002, allocations: 0 / 1.193 GB, free: 6.965 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00114/1.003, allocations: 339.6 kB / 1.193 GB, free: 6.633 MB / 0.9512 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.009157/1.012, allocations: 3.825 MB / 1.197 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.005416/1.018, allocations: 1.775 MB / 1.199 GB, free: 1.121 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/1.018, allocations: 0 / 1.199 GB, free: 1.121 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002415/1.02, allocations: 0.8476 MB / 1.199 GB, free: 280 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003189/1.023, allocations: 0.611 MB / 1.2 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02754/1.051, allocations: 13.24 MB / 1.213 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009165/1.052, allocations: 1.183 MB / 1.214 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001715/1.053, allocations: 358 kB / 1.214 GB, free: 308 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008878/1.054, allocations: 0.5071 MB / 1.215 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of SimCode: time 9.12e-07/1.054, allocations: 0 / 1.215 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5334/1.588, allocations: 35.01 MB / 1.249 GB, free: 283.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001497/1.588, allocations: 242 kB / 1.249 GB, free: 283.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.749/4.336, allocations: 0 / 1.249 GB, free: 283.3 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)