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.001329/0.001329, 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.001271/0.001271, allocations: 191.1 kB / 16.25 MB, free: 6.617 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.308/1.308, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.688/1.688, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.001345/0.001345, allocations: 63.48 kB / 0.6711 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1865, allocations: 114.6 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.503/0.6895, allocations: 191.3 MB / 0.9698 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00656/0.6961, allocations: 4.985 MB / 0.9747 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006445/0.6968, allocations: 44.69 kB / 0.9747 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001405/0.6982, allocations: 0.7292 MB / 0.9754 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004382/0.7026, allocations: 2.419 MB / 0.9778 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001937/0.7046, allocations: 1.021 MB / 0.9788 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002088/0.7067, allocations: 2.592 MB / 0.9813 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009158/0.7076, allocations: 0.8737 MB / 0.9822 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001318/0.7089, allocations: 1.127 MB / 0.9833 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008701/0.7098, allocations: 1.021 MB / 0.9843 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001337/0.71, allocations: 85.06 kB / 0.9844 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002482/0.7124, allocations: 1.854 MB / 0.9862 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003156/0.7128, allocations: 445.6 kB / 0.9866 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004919/0.7133, allocations: 0.6564 MB / 0.9872 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002008/0.7153, allocations: 2.293 MB / 0.9895 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.7153, allocations: 0 / 0.9895 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7153, allocations: 0 / 0.9895 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.48e-05/0.7153, allocations: 0 / 0.9895 GB, free: 4.348 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.004184/0.7195, allocations: 1.948 MB / 0.9914 GB, free: 19.39 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.7196, allocations: 10.38 kB / 0.9914 GB, free: 19.39 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001617/0.7197, allocations: 142.9 kB / 0.9915 GB, free: 19.36 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003971/0.7237, allocations: 0.7085 MB / 0.9922 GB, free: 19.25 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.7248, allocations: 0.9046 MB / 0.9931 GB, free: 18.86 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.132e-05/0.7248, allocations: 68.67 kB / 0.9932 GB, free: 18.86 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/0.725, allocations: 94.28 kB / 0.9933 GB, free: 18.85 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002588/0.7276, allocations: 1.466 MB / 0.9947 GB, free: 18.37 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.7276, allocations: 0 / 0.9947 GB, free: 18.37 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.15e-05/0.7277, allocations: 32.5 kB / 0.9947 GB, free: 18.35 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.297e-05/0.7278, allocations: 58.83 kB / 0.9948 GB, free: 18.34 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003393/0.7312, allocations: 1.549 MB / 0.9963 GB, free: 17.91 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.004955/0.7361, allocations: 5.028 MB / 1.001 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002851/0.739, allocations: 1.183 MB / 1.002 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001445/0.7404, allocations: 0.6756 MB / 1.003 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/0.7416, allocations: 0.9379 MB / 1.004 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00165/0.7432, allocations: 0.7221 MB / 1.005 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=82): time 2.244e-06/0.7432, allocations: 0 / 1.005 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of matching and sorting (n=82): time 0.005201/0.7484, allocations: 1.956 MB / 1.007 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.7485, allocations: 64.62 kB / 1.007 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.7497, allocations: 1.282 MB / 1.008 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.217e-05/0.7498, allocations: 42.73 kB / 1.008 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003798/0.7502, allocations: 0.5773 MB / 1.008 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/0.7504, allocations: 280.1 kB / 1.009 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002865/0.7507, allocations: 188.3 kB / 1.009 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.7508, allocations: 350.4 kB / 1.009 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001481/0.7523, allocations: 0.5451 MB / 1.01 GB, free: 9.957 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001643/0.7539, allocations: 0.8449 MB / 1.011 GB, free: 9.34 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002956/0.7569, allocations: 1.344 MB / 1.012 GB, free: 8.527 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.7569, allocations: 0 / 1.012 GB, free: 8.527 MB / 0.7481 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003391/0.7603, allocations: 1.52 MB / 1.013 GB, free: 7.816 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.7603, allocations: 10.25 kB / 1.013 GB, free: 7.816 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.7603, allocations: 5.562 kB / 1.013 GB, free: 7.816 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.7604, allocations: 10.78 kB / 1.013 GB, free: 7.816 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/0.7617, allocations: 295.5 kB / 1.014 GB, free: 7.742 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.613e-05/0.7617, allocations: 18.08 kB / 1.014 GB, free: 7.738 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/0.763, allocations: 217.6 kB / 1.014 GB, free: 7.617 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.13e-05/0.7631, allocations: 54.19 kB / 1.014 GB, free: 7.598 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.0004014/0.7635, allocations: 344 kB / 1.014 GB, free: 7.371 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/0.7636, allocations: 134.2 kB / 1.014 GB, free: 7.301 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003564/0.7672, allocations: 1.452 MB / 1.016 GB, free: 6.52 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.7672, allocations: 14.48 kB / 1.016 GB, free: 6.516 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.7672, allocations: 0 / 1.016 GB, free: 6.516 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.7673, allocations: 3.984 kB / 1.016 GB, free: 6.512 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005069/0.7723, allocations: 2.873 MB / 1.019 GB, free: 4.711 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.7724, allocations: 4.312 kB / 1.019 GB, free: 4.711 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/0.7735, allocations: 227.4 kB / 1.019 GB, free: 4.645 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.7736, allocations: 12.84 kB / 1.019 GB, free: 4.641 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-05/0.7736, allocations: 26.84 kB / 1.019 GB, free: 4.625 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.7737, allocations: 9.969 kB / 1.019 GB, free: 4.625 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.7737, allocations: 3.406 kB / 1.019 GB, free: 4.625 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004956/0.7786, allocations: 2.314 MB / 1.021 GB, free: 3.301 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003861/0.779, allocations: 297.2 kB / 1.021 GB, free: 3.059 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001794/0.7792, allocations: 26.77 kB / 1.022 GB, free: 3.043 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/0.7803, allocations: 124.2 kB / 1.022 GB, free: 2.988 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.7805, allocations: 66.8 kB / 1.022 GB, free: 2.957 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.543e-05/0.7805, allocations: 39.81 kB / 1.022 GB, free: 2.941 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008429/0.7814, allocations: 0.8752 MB / 1.023 GB, free: 2.492 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7814, allocations: 4 kB / 1.023 GB, free: 2.488 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007997/0.7822, allocations: 322.5 kB / 1.023 GB, free: 2.434 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.006296/0.7885, allocations: 3.287 MB / 1.026 GB, free: 460 kB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003589/0.7921, allocations: 1.43 MB / 1.028 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.7921, allocations: 6.281 kB / 1.028 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001589/0.7937, allocations: 0.6637 MB / 1.028 GB, free: 15.57 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002564/0.7963, allocations: 0.6428 MB / 1.029 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01868/0.815, allocations: 12.35 MB / 1.041 GB, free: 2.992 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006232/0.8156, allocations: 1.175 MB / 1.042 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001384/0.817, allocations: 354.3 kB / 1.042 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006707/0.8177, allocations: 499.2 kB / 1.043 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of SimCode: time 1.002e-06/0.8177, allocations: 0 / 1.043 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5601/1.378, allocations: 34.9 MB / 1.077 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002878/1.378, allocations: 256.2 kB / 1.077 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.623/4.001, allocations: 0 / 1.077 GB, free: 14.31 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)