Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.432/1.432, allocations: 252 MB / 267.3 MB, free: 10.85 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.001283/0.001283, allocations: 176.9 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.735/1.735, allocations: 205.4 MB / 0.578 GB, free: 20.38 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.0007842/0.0007843, allocations: 81.3 kB / 0.6826 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003399, allocations: 9.094 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1722, allocations: 106.3 MB / 0.9009 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.6515/0.8237, allocations: 189.3 MB / 1.086 GB, free: 1.629 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008629/0.8324, allocations: 5.141 MB / 1.091 GB, free: 1.477 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001181/0.8336, allocations: 41.31 kB / 1.091 GB, free: 1.477 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00158/0.8352, allocations: 0.714 MB / 1.092 GB, free: 1.457 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005429/0.8407, allocations: 2.416 MB / 1.094 GB, free: 1.336 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002486/0.8432, allocations: 1.016 MB / 1.095 GB, free: 1.312 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00367/0.8469, allocations: 3.52 MB / 1.098 GB, free: 1.301 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001192/0.8481, allocations: 0.7862 MB / 1.099 GB, free: 1.199 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001815/0.8499, allocations: 1.01 MB / 1.1 GB, free: 1.195 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/0.8509, allocations: 0.9703 MB / 1.101 GB, free: 1.188 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.851, allocations: 51.88 kB / 1.101 GB, free: 1.184 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003945/0.855, allocations: 2.066 MB / 1.103 GB, free: 1.164 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004007/0.8554, allocations: 403.7 kB / 1.103 GB, free: 1.16 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007817/0.8562, allocations: 0.6355 MB / 1.104 GB, free: 17.13 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003048/0.8593, allocations: 2.208 MB / 1.106 GB, free: 16.99 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.8593, allocations: 0 / 1.106 GB, free: 16.99 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8593, allocations: 1.969 kB / 1.106 GB, free: 16.99 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.469e-05/0.8593, allocations: 0 / 1.106 GB, free: 16.99 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.004378/0.8637, allocations: 1.687 MB / 1.108 GB, free: 16.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.8638, allocations: 8.438 kB / 1.108 GB, free: 16.09 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001619/0.8639, allocations: 141.5 kB / 1.108 GB, free: 16.04 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003665/0.8676, allocations: 0.7092 MB / 1.109 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.8688, allocations: 0.8859 MB / 1.11 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.034e-05/0.8689, allocations: 68.64 kB / 1.11 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/0.869, allocations: 94.12 kB / 1.11 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00273/0.8718, allocations: 1.486 MB / 1.111 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.8718, allocations: 8.625 kB / 1.111 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.315e-05/0.8719, allocations: 38.94 kB / 1.111 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.988e-05/0.872, allocations: 49.67 kB / 1.111 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003706/0.8757, allocations: 1.542 MB / 1.113 GB, free: 15.25 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.00637/0.8821, allocations: 5.504 MB / 1.118 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00339/0.8855, allocations: 1.32 MB / 1.119 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001596/0.8871, allocations: 0.6796 MB / 1.12 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008936/0.888, allocations: 0.5935 MB / 1.121 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001741/0.8897, allocations: 0.7182 MB / 1.121 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=80): time 2.806e-06/0.8898, allocations: 0 / 1.121 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=80): time 0.005581/0.8953, allocations: 1.914 MB / 1.123 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/0.8954, allocations: 60.7 kB / 1.123 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/0.8972, allocations: 1.247 MB / 1.125 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.8973, allocations: 50.36 kB / 1.125 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004691/0.8978, allocations: 0.5811 MB / 1.125 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002604/0.898, allocations: 272.2 kB / 1.125 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.299e-05/0.8981, allocations: 18.94 kB / 1.125 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.8982, allocations: 346.2 kB / 1.126 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001747/0.9, allocations: 0.5515 MB / 1.126 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001781/0.9018, allocations: 0.8549 MB / 1.127 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003209/0.905, allocations: 1.352 MB / 1.128 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/0.905, allocations: 5.75 kB / 1.129 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003841/0.9089, allocations: 1.513 MB / 1.13 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.9089, allocations: 8.656 kB / 1.13 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.9089, allocations: 12.28 kB / 1.13 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.909, allocations: 11.56 kB / 1.13 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/0.9104, allocations: 299.1 kB / 1.13 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.276e-05/0.9104, allocations: 19.88 kB / 1.13 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/0.9119, allocations: 226.4 kB / 1.131 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.9121, allocations: 52.56 kB / 1.131 GB, free: 9.188 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005583/0.9126, allocations: 342 kB / 1.131 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/0.9128, allocations: 134.7 kB / 1.131 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003667/0.9165, allocations: 1.436 MB / 1.132 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.9165, allocations: 6.469 kB / 1.132 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.9165, allocations: 0 / 1.132 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.9165, allocations: 3.984 kB / 1.132 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005462/0.922, allocations: 2.836 MB / 1.135 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.922, allocations: 5.062 kB / 1.135 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/0.9232, allocations: 228.9 kB / 1.135 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.9233, allocations: 6.188 kB / 1.135 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.939e-05/0.9233, allocations: 30.59 kB / 1.135 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.325e-06/0.9234, allocations: 12.56 kB / 1.135 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.9234, allocations: 5.812 kB / 1.135 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00519/0.9286, allocations: 2.285 MB / 1.138 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004871/0.9291, allocations: 309.3 kB / 1.138 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001626/0.9292, allocations: 23.75 kB / 1.138 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/0.9304, allocations: 140.5 kB / 1.138 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.9305, allocations: 64.36 kB / 1.138 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.952e-05/0.9306, allocations: 35.56 kB / 1.138 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001051/0.9316, allocations: 0.86 MB / 1.139 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9317, allocations: 3.5 kB / 1.139 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001052/0.9327, allocations: 313.6 kB / 1.139 GB, free: 6.062 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (80): * Single equations (assignments): 74 * 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.008103/0.9408, allocations: 3.274 MB / 1.143 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005092/0.9459, allocations: 1.303 MB / 1.144 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.946, allocations: 0 / 1.144 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00263/0.9486, allocations: 0.6511 MB / 1.145 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005658/0.9543, allocations: 0.582 MB / 1.145 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04115/0.9955, allocations: 12.3 MB / 1.157 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001438/0.997, allocations: 1.176 MB / 1.158 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003522/1.001, allocations: 338 kB / 1.159 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001432/1.002, allocations: 0.4934 MB / 1.159 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of SimCode: time 1.403e-06/1.002, allocations: 0 / 1.159 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06326/1.065, allocations: 32.58 MB / 1.191 GB, free: 9.977 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/1.066, allocations: 269.1 kB / 1.191 GB, free: 9.621 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.599/4.664, allocations: 0 / 1.191 GB, free: 9.621 MB / 0.7605 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)