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.001441/0.001441, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001843/0.001843, allocations: 193.1 kB / 16.14 MB, free: 6.707 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.279/1.279, allocations: 205.1 MB / 222 MB, free: 4.988 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.737/1.737, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001339/0.001339, allocations: 71.98 kB / 0.6709 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1857, allocations: 114.6 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.5441/0.7299, allocations: 191.6 MB / 0.9699 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007399/0.7373, allocations: 5.049 MB / 0.9748 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001278/0.7386, allocations: 45.69 kB / 0.9749 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001618/0.7403, allocations: 0.7152 MB / 0.9756 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005787/0.7461, allocations: 2.419 MB / 0.9779 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002592/0.7487, allocations: 1.024 MB / 0.9789 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004295/0.753, allocations: 3.505 MB / 0.9823 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/0.7543, allocations: 0.7962 MB / 0.9831 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002184/0.7565, allocations: 1.01 MB / 0.9841 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/0.7581, allocations: 1.003 MB / 0.9851 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001801/0.7583, allocations: 51.69 kB / 0.9851 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004094/0.7624, allocations: 2.072 MB / 0.9872 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004302/0.7628, allocations: 420.2 kB / 0.9876 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0008294/0.7637, allocations: 0.6259 MB / 0.9882 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003445/0.7671, allocations: 2.243 MB / 0.9904 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.7672, allocations: 2.469 kB / 0.9904 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.112e-06/0.7672, allocations: 0 / 0.9904 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.567e-05/0.7672, allocations: 0 / 0.9904 GB, free: 4.004 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.004994/0.7722, allocations: 1.95 MB / 0.9923 GB, free: 19.04 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.7722, allocations: 9.625 kB / 0.9923 GB, free: 19.04 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001975/0.7724, allocations: 140.2 kB / 0.9924 GB, free: 19 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004355/0.7768, allocations: 0.7042 MB / 0.9931 GB, free: 18.91 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.7782, allocations: 0.9079 MB / 0.994 GB, free: 18.51 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.711e-05/0.7782, allocations: 66.41 kB / 0.994 GB, free: 18.51 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/0.7784, allocations: 94.66 kB / 0.9941 GB, free: 18.51 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002937/0.7814, allocations: 1.465 MB / 0.9956 GB, free: 18.08 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.7814, allocations: 4.406 kB / 0.9956 GB, free: 18.08 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.7815, allocations: 35.88 kB / 0.9956 GB, free: 18.06 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.864e-05/0.7816, allocations: 50.86 kB / 0.9957 GB, free: 18.05 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0039/0.7855, allocations: 1.549 MB / 0.9972 GB, free: 17.62 MB / 0.7481 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.006665/0.7921, allocations: 5.028 MB / 1.002 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003178/0.7953, allocations: 1.185 MB / 1.003 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001617/0.797, allocations: 0.6732 MB / 1.004 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001273/0.7983, allocations: 0.939 MB / 1.005 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00184/0.8001, allocations: 0.7238 MB / 1.006 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=82): time 3.216e-06/0.8001, allocations: 0 / 1.006 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of matching and sorting (n=82): time 0.005878/0.806, allocations: 1.955 MB / 1.007 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.8061, allocations: 66.25 kB / 1.007 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/0.8076, allocations: 1.271 MB / 1.009 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001271/0.8077, allocations: 46.56 kB / 1.009 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004363/0.8082, allocations: 0.5753 MB / 1.009 GB, free: 9.637 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002513/0.8084, allocations: 281.9 kB / 1.01 GB, free: 9.402 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003009/0.8087, allocations: 189.5 kB / 1.01 GB, free: 9.293 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.8089, allocations: 346 kB / 1.01 GB, free: 8.957 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0016/0.8105, allocations: 0.5436 MB / 1.011 GB, free: 8.695 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001767/0.8122, allocations: 0.8432 MB / 1.011 GB, free: 8.078 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003274/0.8155, allocations: 1.343 MB / 1.013 GB, free: 7.262 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.8155, allocations: 3.406 kB / 1.013 GB, free: 7.262 MB / 0.7481 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003885/0.8194, allocations: 1.524 MB / 1.014 GB, free: 6.551 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.8195, allocations: 7.656 kB / 1.014 GB, free: 6.551 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.8195, allocations: 9.5 kB / 1.014 GB, free: 6.547 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.8195, allocations: 12.91 kB / 1.014 GB, free: 6.547 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/0.8209, allocations: 291.8 kB / 1.015 GB, free: 6.473 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.679e-05/0.821, allocations: 18.94 kB / 1.015 GB, free: 6.469 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/0.8225, allocations: 220.9 kB / 1.015 GB, free: 6.348 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.867e-05/0.8226, allocations: 50.2 kB / 1.015 GB, free: 6.332 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.0005416/0.8232, allocations: 340 kB / 1.015 GB, free: 6.109 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001982/0.8234, allocations: 138.1 kB / 1.015 GB, free: 6.035 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003776/0.8272, allocations: 1.458 MB / 1.017 GB, free: 5.242 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.8272, allocations: 8.656 kB / 1.017 GB, free: 5.242 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.8272, allocations: 0 / 1.017 GB, free: 5.242 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/0.8272, allocations: 3.984 kB / 1.017 GB, free: 5.238 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005984/0.8332, allocations: 2.876 MB / 1.02 GB, free: 3.438 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.8332, allocations: 3.594 kB / 1.02 GB, free: 3.438 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001352/0.8346, allocations: 227.3 kB / 1.02 GB, free: 3.371 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.149e-05/0.8346, allocations: 7.656 kB / 1.02 GB, free: 3.371 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.431e-05/0.8347, allocations: 25.94 kB / 1.02 GB, free: 3.355 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/0.8347, allocations: 8.906 kB / 1.02 GB, free: 3.355 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.8347, allocations: 8.625 kB / 1.02 GB, free: 3.352 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00544/0.8402, allocations: 2.317 MB / 1.022 GB, free: 2.027 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006073/0.8408, allocations: 303.1 kB / 1.022 GB, free: 1.781 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/0.841, allocations: 19.06 kB / 1.022 GB, free: 1.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/0.8422, allocations: 125.9 kB / 1.023 GB, free: 1.715 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.8423, allocations: 67.8 kB / 1.023 GB, free: 1.68 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-05/0.8424, allocations: 40.09 kB / 1.023 GB, free: 1.664 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001043/0.8435, allocations: 0.8798 MB / 1.023 GB, free: 1.211 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8435, allocations: 0 / 1.023 GB, free: 1.211 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000974/0.8444, allocations: 321.3 kB / 1.024 GB, free: 1.156 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.006719/0.8512, allocations: 3.273 MB / 1.027 GB, free: 15.17 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003523/0.8547, allocations: 1.307 MB / 1.028 GB, free: 14.61 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.8547, allocations: 6.594 kB / 1.028 GB, free: 14.6 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001837/0.8566, allocations: 0.6592 MB / 1.029 GB, free: 14.32 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002885/0.8595, allocations: 0.617 MB / 1.03 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02099/0.8805, allocations: 12.36 MB / 1.042 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007236/0.8812, allocations: 1.179 MB / 1.043 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001592/0.8828, allocations: 346.4 kB / 1.043 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007439/0.8836, allocations: 0.4914 MB / 1.044 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of SimCode: time 1.172e-06/0.8836, allocations: 0 / 1.044 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05361/0.9372, allocations: 34.02 MB / 1.077 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000205/0.9375, allocations: 255.9 kB / 1.077 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.602/3.539, allocations: 4 kB / 1.077 GB, free: 13.22 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)