Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.474/1.474, allocations: 252 MB / 267 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009949/0.000995, allocations: 175.5 kB / 326.6 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 205.4 MB / 0.5777 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006924/0.0006926, allocations: 87.84 kB / 0.6822 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003341, allocations: 11.72 kB / 0.7965 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1876, allocations: 106.4 MB / 0.9003 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.5806/0.7682, allocations: 176.6 MB / 1.073 GB, free: 4.203 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008244/0.7765, allocations: 4.9 MB / 1.078 GB, free: 4.07 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001431/0.778, allocations: 40.94 kB / 1.078 GB, free: 4.07 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001639/0.7796, allocations: 0.6191 MB / 1.078 GB, free: 4.059 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004957/0.7846, allocations: 1.867 MB / 1.08 GB, free: 3.977 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00258/0.7872, allocations: 0.9156 MB / 1.081 GB, free: 3.961 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003711/0.7909, allocations: 2.975 MB / 1.084 GB, free: 3.953 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.792, allocations: 0.7127 MB / 1.085 GB, free: 3.871 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001742/0.7938, allocations: 0.9975 MB / 1.086 GB, free: 3.867 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/0.7948, allocations: 0.9284 MB / 1.086 GB, free: 3.863 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.795, allocations: 46.84 kB / 1.086 GB, free: 3.863 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00261/0.7976, allocations: 0.9379 MB / 1.087 GB, free: 3.844 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003593/0.798, allocations: 401.5 kB / 1.088 GB, free: 3.844 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00031/0.7983, allocations: 267.1 kB / 1.088 GB, free: 3.812 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001501/0.7998, allocations: 1.367 MB / 1.089 GB, free: 3.676 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.7998, allocations: 12 kB / 1.089 GB, free: 3.668 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7998, allocations: 0 / 1.089 GB, free: 3.668 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.706e-05/0.7998, allocations: 0 / 1.089 GB, free: 3.668 MB / 0.698 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.004674/0.8045, allocations: 1.695 MB / 1.091 GB, free: 18.77 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.8046, allocations: 9.875 kB / 1.091 GB, free: 18.77 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000167/0.8047, allocations: 139.3 kB / 1.091 GB, free: 18.73 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004288/0.809, allocations: 0.7503 MB / 1.092 GB, free: 18.62 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/0.8106, allocations: 0.8532 MB / 1.093 GB, free: 18.28 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.498e-05/0.8107, allocations: 78.59 kB / 1.093 GB, free: 18.27 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/0.8108, allocations: 85.91 kB / 1.093 GB, free: 18.27 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003021/0.8139, allocations: 1.473 MB / 1.094 GB, free: 18.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.8139, allocations: 6.891 kB / 1.094 GB, free: 18.07 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.814, allocations: 32.62 kB / 1.094 GB, free: 18.07 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.552e-05/0.8141, allocations: 48.19 kB / 1.094 GB, free: 18.07 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003751/0.8178, allocations: 1.579 MB / 1.096 GB, free: 18.03 MB / 0.7136 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.006787/0.8246, allocations: 5.069 MB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003082/0.8277, allocations: 1.236 MB / 1.102 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/0.8293, allocations: 0.6694 MB / 1.103 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001311/0.8306, allocations: 0.9516 MB / 1.104 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001693/0.8323, allocations: 0.7345 MB / 1.104 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=82): time 3.646e-06/0.8323, allocations: 3.531 kB / 1.104 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82): time 0.005657/0.838, allocations: 1.985 MB / 1.106 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/0.8381, allocations: 63.34 kB / 1.106 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00148/0.8396, allocations: 1.269 MB / 1.108 GB, free: 14 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.692e-05/0.8397, allocations: 47.36 kB / 1.108 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003768/0.8401, allocations: 0.5747 MB / 1.108 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/0.8403, allocations: 289 kB / 1.109 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.599e-05/0.8403, allocations: 19.09 kB / 1.109 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.8405, allocations: 341.6 kB / 1.109 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/0.842, allocations: 0.5552 MB / 1.109 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001627/0.8436, allocations: 0.8529 MB / 1.11 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/0.8452, allocations: 0.6069 MB / 1.111 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.8e-06/0.8452, allocations: 0 / 1.111 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003496/0.8487, allocations: 1.536 MB / 1.112 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.8487, allocations: 8 kB / 1.112 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.8487, allocations: 6.438 kB / 1.112 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.8487, allocations: 13.69 kB / 1.112 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.8501, allocations: 299.6 kB / 1.113 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.8501, allocations: 17.3 kB / 1.113 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/0.8515, allocations: 230 kB / 1.113 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.07e-05/0.8516, allocations: 54.08 kB / 1.113 GB, free: 12.7 MB / 0.7136 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 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004975/0.8521, allocations: 340.3 kB / 1.113 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.8523, allocations: 139.6 kB / 1.113 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003638/0.8559, allocations: 1.463 MB / 1.115 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.856, allocations: 6.156 kB / 1.115 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.856, allocations: 2.844 kB / 1.115 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.856, allocations: 5.891 kB / 1.115 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005631/0.8616, allocations: 2.884 MB / 1.118 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.8617, allocations: 3.812 kB / 1.118 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001365/0.863, allocations: 229.8 kB / 1.118 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.916e-05/0.8631, allocations: 7.875 kB / 1.118 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.498e-05/0.8632, allocations: 32.12 kB / 1.118 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-05/0.8632, allocations: 6.781 kB / 1.118 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.907e-06/0.8632, allocations: 11.23 kB / 1.118 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005466/0.8687, allocations: 2.341 MB / 1.12 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005851/0.8693, allocations: 316.1 kB / 1.121 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/0.8694, allocations: 27.12 kB / 1.121 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.8706, allocations: 133 kB / 1.121 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.8707, allocations: 67.75 kB / 1.121 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.677e-05/0.8708, allocations: 38.02 kB / 1.121 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001006/0.8718, allocations: 0.8708 MB / 1.122 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8719, allocations: 0 / 1.122 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009591/0.8728, allocations: 317.2 kB / 1.122 GB, free: 10.81 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006414/0.8792, allocations: 3.316 MB / 1.125 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003432/0.8827, allocations: 1.321 MB / 1.126 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.8827, allocations: 256 / 1.126 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00164/0.8844, allocations: 0.6678 MB / 1.127 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00273/0.8871, allocations: 0.6088 MB / 1.128 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01497/0.9021, allocations: 8.847 MB / 1.136 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006521/0.9028, allocations: 1.181 MB / 1.138 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001561/0.9043, allocations: 356.1 kB / 1.138 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006276/0.905, allocations: 499.6 kB / 1.138 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of SimCode: time 9.72e-07/0.905, allocations: 0 / 1.138 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05327/0.9583, allocations: 33.74 MB / 1.171 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/0.9585, allocations: 252.5 kB / 1.172 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.954/3.912, allocations: 0 / 1.172 GB, free: 5.367 MB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)