Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",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.533/1.533, allocations: 252 MB / 267.3 MB, free: 10.84 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.0009655/0.0009655, allocations: 164.3 kB / 327 MB, free: 2.098 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.569/1.569, allocations: 205.4 MB / 0.578 GB, free: 20.09 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.0008163/0.0008164, allocations: 82.38 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003339, allocations: 9 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.209, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.7703/0.9793, allocations: 189.3 MB / 1.086 GB, free: 1.613 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01323/0.9926, allocations: 5.142 MB / 1.091 GB, free: 1.457 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002519/0.9952, allocations: 40.69 kB / 1.091 GB, free: 1.457 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002843/0.9981, allocations: 0.7159 MB / 1.092 GB, free: 1.438 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01042/1.009, allocations: 2.416 MB / 1.094 GB, free: 1.32 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004508/1.013, allocations: 1.02 MB / 1.095 GB, free: 1.293 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006958/1.02, allocations: 3.587 MB / 1.098 GB, free: 1.285 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00217/1.022, allocations: 0.8365 MB / 1.099 GB, free: 1.168 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003288/1.026, allocations: 1.023 MB / 1.1 GB, free: 1.164 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002224/1.028, allocations: 1.012 MB / 1.101 GB, free: 1.16 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002203/1.028, allocations: 52.38 kB / 1.101 GB, free: 1.156 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007363/1.035, allocations: 2.068 MB / 1.103 GB, free: 1.137 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.00157/1.037, allocations: 412.5 kB / 1.104 GB, free: 1.133 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.003019/1.04, allocations: 0.6487 MB / 1.104 GB, free: 17.1 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.007089/1.047, allocations: 2.257 MB / 1.107 GB, free: 16.96 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/1.047, allocations: 0 / 1.107 GB, free: 16.96 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.635e-06/1.047, allocations: 2.938 kB / 1.107 GB, free: 16.96 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.125e-05/1.047, allocations: 0 / 1.107 GB, free: 16.96 MB / 0.7136 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.008049/1.056, allocations: 1.718 MB / 1.108 GB, free: 16.04 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 8.089e-05/1.056, allocations: 14.28 kB / 1.108 GB, free: 16.04 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004402/1.056, allocations: 139.7 kB / 1.108 GB, free: 16 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008502/1.065, allocations: 0.9324 MB / 1.109 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002917/1.068, allocations: 0.919 MB / 1.11 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/1.068, allocations: 75.94 kB / 1.11 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004794/1.068, allocations: 89.28 kB / 1.11 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006329/1.075, allocations: 1.579 MB / 1.112 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.977e-05/1.075, allocations: 3.984 kB / 1.112 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002199/1.075, allocations: 34.44 kB / 1.112 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.304e-05/1.075, allocations: 53.47 kB / 1.112 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008003/1.083, allocations: 1.848 MB / 1.114 GB, free: 15.3 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.01199/1.095, allocations: 4.763 MB / 1.118 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006655/1.102, allocations: 1.581 MB / 1.12 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003352/1.105, allocations: 0.8569 MB / 1.121 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001951/1.107, allocations: 0.9553 MB / 1.122 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003943/1.111, allocations: 0.9146 MB / 1.123 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=95): time 6.833e-06/1.111, allocations: 0 / 1.123 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=95): time 0.01319/1.124, allocations: 2.445 MB / 1.125 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.049e-05/1.124, allocations: 60.81 kB / 1.125 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002793/1.127, allocations: 1.218 MB / 1.126 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002077/1.128, allocations: 46.33 kB / 1.126 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006634/1.128, allocations: 0.5418 MB / 1.127 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005419/1.129, allocations: 325.4 kB / 1.127 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/1.129, allocations: 18.12 kB / 1.127 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002144/1.129, allocations: 351.7 kB / 1.127 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003432/1.133, allocations: 0.7025 MB / 1.128 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003707/1.136, allocations: 0.9202 MB / 1.129 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006725/1.143, allocations: 1.547 MB / 1.131 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-05/1.143, allocations: 3.156 kB / 1.131 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.008061/1.151, allocations: 1.774 MB / 1.132 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/1.151, allocations: 5.375 kB / 1.132 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/1.151, allocations: 5.812 kB / 1.132 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.376e-05/1.151, allocations: 9.156 kB / 1.132 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002948/1.154, allocations: 333.7 kB / 1.133 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.065e-05/1.154, allocations: 16.02 kB / 1.133 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002988/1.157, allocations: 264.9 kB / 1.133 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002443/1.158, allocations: 51.25 kB / 1.133 GB, free: 9.25 MB / 0.7136 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 ($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 (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.001086/1.159, allocations: 348.9 kB / 1.133 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005126/1.159, allocations: 133.9 kB / 1.133 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008748/1.168, allocations: 1.794 MB / 1.135 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/1.168, allocations: 15.34 kB / 1.135 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.709e-05/1.168, allocations: 4 kB / 1.135 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.193e-05/1.168, allocations: 3.984 kB / 1.135 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01229/1.181, allocations: 3.329 MB / 1.138 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.91e-05/1.181, allocations: 2.656 kB / 1.138 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002656/1.183, allocations: 291.8 kB / 1.139 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-05/1.183, allocations: 8.625 kB / 1.139 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000165/1.183, allocations: 30.12 kB / 1.139 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.012e-05/1.184, allocations: 16.33 kB / 1.139 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/1.184, allocations: 5.844 kB / 1.139 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01192/1.195, allocations: 2.84 MB / 1.142 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/1.197, allocations: 329.6 kB / 1.142 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005236/1.197, allocations: 26.25 kB / 1.142 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002602/1.2, allocations: 170.1 kB / 1.142 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002499/1.2, allocations: 72.8 kB / 1.142 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000176/1.2, allocations: 41.38 kB / 1.142 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002208/1.203, allocations: 0.84 MB / 1.143 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.1e-07/1.203, allocations: 0 / 1.143 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002579/1.205, allocations: 346.8 kB / 1.143 GB, free: 5.707 MB / 0.7136 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.01552/1.221, allocations: 3.82 MB / 1.147 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.007838/1.229, allocations: 1.619 MB / 1.149 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/1.229, allocations: 4.062 kB / 1.149 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003874/1.233, allocations: 0.8331 MB / 1.149 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006018/1.239, allocations: 0.6059 MB / 1.15 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04473/1.283, allocations: 13.39 MB / 1.163 GB, free: 6.426 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001483/1.285, allocations: 1.187 MB / 1.164 GB, free: 5.207 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003262/1.288, allocations: 370.2 kB / 1.165 GB, free: 4.844 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001471/1.29, allocations: 0.507 MB / 1.165 GB, free: 4.336 MB / 0.7292 GB Notification: Performance of SimCode: time 1.062e-06/1.29, allocations: 0 / 1.165 GB, free: 4.336 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08721/1.377, allocations: 34.23 MB / 1.199 GB, free: 2.469 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002776/1.377, allocations: 255.4 kB / 1.199 GB, free: 2.215 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.685/5.063, allocations: 2.953 kB / 1.199 GB, free: 2.215 MB / 0.7605 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)