Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.001236/0.001236, allocations: 91.84 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.009538/0.009538, allocations: 170 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.364/1.364, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.717/1.717, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005129/0.000513, allocations: 18.09 kB / 0.6744 GB, free: 25.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2095, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.5868/0.7964, allocations: 189 MB / 0.9726 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008172/0.8046, allocations: 5.007 MB / 0.9775 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001515/0.8061, allocations: 42.03 kB / 0.9775 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00177/0.8079, allocations: 0.7094 MB / 0.9782 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006818/0.8148, allocations: 2.417 MB / 0.9806 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002726/0.8175, allocations: 1.022 MB / 0.9816 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004113/0.8216, allocations: 3.508 MB / 0.985 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.8227, allocations: 0.7907 MB / 0.9858 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001655/0.8244, allocations: 0.9888 MB / 0.9867 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.8255, allocations: 0.9825 MB / 0.9877 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001151/0.8256, allocations: 47.41 kB / 0.9877 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003453/0.829, allocations: 2.064 MB / 0.9898 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003797/0.8294, allocations: 415.4 kB / 0.9901 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005875/0.83, allocations: 0.6373 MB / 0.9908 GB, free: 9.746 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002604/0.8326, allocations: 2.229 MB / 0.9929 GB, free: 8.516 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.8327, allocations: 0 / 0.9929 GB, free: 8.516 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.492e-06/0.8327, allocations: 0 / 0.9929 GB, free: 8.516 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.506e-05/0.8327, allocations: 0 / 0.9929 GB, free: 8.516 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.004304/0.837, allocations: 1.694 MB / 0.9946 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.837, allocations: 10.91 kB / 0.9946 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001645/0.8372, allocations: 137.8 kB / 0.9947 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004353/0.8416, allocations: 0.7468 MB / 0.9955 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/0.8428, allocations: 0.9034 MB / 0.9964 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.804e-05/0.8429, allocations: 72 kB / 0.9964 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001618/0.8431, allocations: 88.16 kB / 0.9965 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002973/0.8461, allocations: 1.477 MB / 0.9979 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.8461, allocations: 0 / 0.9979 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.8462, allocations: 38.12 kB / 0.998 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.952e-05/0.8463, allocations: 48.77 kB / 0.998 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003948/0.8502, allocations: 1.585 MB / 0.9996 GB, free: 4.387 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.005916/0.8561, allocations: 5.048 MB / 1.005 GB, free: 272 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003285/0.8594, allocations: 1.243 MB / 1.006 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001694/0.8611, allocations: 0.6853 MB / 1.006 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001175/0.8623, allocations: 0.9505 MB / 1.007 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001808/0.8642, allocations: 0.7356 MB / 1.008 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=82): time 3.968e-06/0.8642, allocations: 0 / 1.008 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of matching and sorting (n=82): time 0.005778/0.87, allocations: 1.992 MB / 1.01 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.87, allocations: 60 kB / 1.01 GB, free: 13 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/0.8714, allocations: 1.286 MB / 1.011 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.372e-05/0.8715, allocations: 43.55 kB / 1.011 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004253/0.8719, allocations: 0.5736 MB / 1.012 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002316/0.8721, allocations: 287.9 kB / 1.012 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.8723, allocations: 73.16 kB / 1.012 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.8724, allocations: 345.9 kB / 1.013 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001624/0.874, allocations: 0.5605 MB / 1.013 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00181/0.8758, allocations: 0.8585 MB / 1.014 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003272/0.8791, allocations: 1.362 MB / 1.015 GB, free: 9.449 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.8791, allocations: 2.844 kB / 1.015 GB, free: 9.449 MB / 0.7481 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00381/0.883, allocations: 1.547 MB / 1.017 GB, free: 8.707 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.883, allocations: 8.125 kB / 1.017 GB, free: 8.707 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.883, allocations: 9.375 kB / 1.017 GB, free: 8.703 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.883, allocations: 11.25 kB / 1.017 GB, free: 8.703 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/0.8844, allocations: 302.6 kB / 1.017 GB, free: 8.617 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.702e-05/0.8844, allocations: 18.73 kB / 1.017 GB, free: 8.609 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/0.8858, allocations: 227.3 kB / 1.017 GB, free: 8.488 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-05/0.8859, allocations: 59.75 kB / 1.017 GB, free: 8.465 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (117): * Single equations (assignments): 117 * 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.0004679/0.8864, allocations: 333.3 kB / 1.018 GB, free: 8.23 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/0.8866, allocations: 136.6 kB / 1.018 GB, free: 8.16 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003885/0.8905, allocations: 1.471 MB / 1.019 GB, free: 7.391 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.8905, allocations: 9.031 kB / 1.019 GB, free: 7.391 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.8905, allocations: 4 kB / 1.019 GB, free: 7.387 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.8905, allocations: 3.984 kB / 1.019 GB, free: 7.383 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005563/0.8961, allocations: 2.898 MB / 1.022 GB, free: 5.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.8961, allocations: 6.219 kB / 1.022 GB, free: 5.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001227/0.8974, allocations: 231 kB / 1.022 GB, free: 5.5 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.8974, allocations: 6.062 kB / 1.022 GB, free: 5.5 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.523e-05/0.8974, allocations: 30.41 kB / 1.022 GB, free: 5.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.059e-05/0.8975, allocations: 16.36 kB / 1.022 GB, free: 5.473 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.8975, allocations: 2.969 kB / 1.022 GB, free: 5.473 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005404/0.9029, allocations: 2.347 MB / 1.025 GB, free: 4.164 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004459/0.9033, allocations: 311 kB / 1.025 GB, free: 3.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001693/0.9035, allocations: 23.38 kB / 1.025 GB, free: 3.898 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/0.9047, allocations: 128.8 kB / 1.025 GB, free: 3.848 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.9048, allocations: 67.27 kB / 1.025 GB, free: 3.809 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-05/0.9049, allocations: 36.89 kB / 1.025 GB, free: 3.797 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0009502/0.9059, allocations: 0.8802 MB / 1.026 GB, free: 3.184 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9059, allocations: 0 / 1.026 GB, free: 3.184 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009327/0.9068, allocations: 319.7 kB / 1.026 GB, free: 2.871 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (82): * Single equations (assignments): 76 * 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.006997/0.9138, allocations: 3.308 MB / 1.03 GB, free: 15.67 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00367/0.9175, allocations: 1.338 MB / 1.031 GB, free: 14.33 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.9175, allocations: 0 / 1.031 GB, free: 14.33 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001775/0.9193, allocations: 0.6678 MB / 1.032 GB, free: 13.66 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003496/0.9228, allocations: 0.6161 MB / 1.032 GB, free: 13.06 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02067/0.9435, allocations: 12.5 MB / 1.044 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007075/0.9442, allocations: 1.171 MB / 1.046 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001474/0.9457, allocations: 354.3 kB / 1.046 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000735/0.9465, allocations: 0.4914 MB / 1.046 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of SimCode: time 5.91e-07/0.9465, allocations: 0 / 1.046 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.879/3.826, allocations: 33.59 MB / 1.079 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002989/3.826, allocations: 251.4 kB / 1.079 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.42/6.246, allocations: 4 kB / 1.079 GB, free: 12.51 MB / 0.8106 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)