Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.682/2.682, allocations: 287.5 MB / 302.4 MB, free: 8.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001366/0.001365, allocations: 183 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.119/2.119, allocations: 205.4 MB / 0.6297 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001375/0.001375, allocations: 96.86 kB / 0.743 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004785/0.0004787, allocations: 12.2 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2063, allocations: 115.3 MB / 0.9784 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.9236/1.13, allocations: 176.3 MB / 1.151 GB, free: 9.582 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01291/1.143, allocations: 4.77 MB / 1.155 GB, free: 6.941 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001932/1.145, allocations: 50.12 kB / 1.155 GB, free: 6.914 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002657/1.148, allocations: 0.6201 MB / 1.156 GB, free: 6.527 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008005/1.156, allocations: 1.866 MB / 1.158 GB, free: 5.113 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004206/1.16, allocations: 0.9147 MB / 1.159 GB, free: 4.484 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005909/1.166, allocations: 2.991 MB / 1.162 GB, free: 2.707 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002123/1.168, allocations: 0.7248 MB / 1.162 GB, free: 2.25 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003617/1.172, allocations: 0.988 MB / 1.163 GB, free: 1.742 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00277/1.175, allocations: 0.9129 MB / 1.164 GB, free: 1.254 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004495/1.175, allocations: 45.84 kB / 1.164 GB, free: 1.254 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004648/1.18, allocations: 0.9433 MB / 1.165 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0009759/1.181, allocations: 391.8 kB / 1.165 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000702/1.181, allocations: 272.7 kB / 1.166 GB, free: 396 kB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00352/1.185, allocations: 1.357 MB / 1.167 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/1.185, allocations: 0 / 1.167 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.695e-06/1.185, allocations: 0 / 1.167 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.712e-05/1.185, allocations: 0 / 1.167 GB, free: 15.55 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.008554/1.194, allocations: 1.705 MB / 1.169 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/1.194, allocations: 9.656 kB / 1.169 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003842/1.194, allocations: 141.5 kB / 1.169 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006876/1.201, allocations: 0.7061 MB / 1.17 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002742/1.204, allocations: 0.8454 MB / 1.17 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/1.204, allocations: 66.69 kB / 1.17 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003197/1.204, allocations: 87.78 kB / 1.171 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006025/1.21, allocations: 1.479 MB / 1.172 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.047e-05/1.21, allocations: 5.594 kB / 1.172 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001802/1.211, allocations: 37.03 kB / 1.172 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001383/1.211, allocations: 50.14 kB / 1.172 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007824/1.219, allocations: 1.537 MB / 1.174 GB, free: 11.42 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.02028/1.239, allocations: 5.491 MB / 1.179 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01059/1.25, allocations: 1.319 MB / 1.18 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004846/1.255, allocations: 0.6669 MB / 1.181 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002041/1.257, allocations: 0.5983 MB / 1.181 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005136/1.262, allocations: 0.7247 MB / 1.182 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=80): time 7.574e-06/1.262, allocations: 0 / 1.182 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of matching and sorting (n=80): time 0.01564/1.277, allocations: 1.902 MB / 1.184 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/1.278, allocations: 65.17 kB / 1.184 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003497/1.281, allocations: 1.24 MB / 1.185 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003626/1.282, allocations: 50.5 kB / 1.185 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001005/1.283, allocations: 0.5772 MB / 1.186 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006472/1.283, allocations: 282.2 kB / 1.186 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/1.283, allocations: 18.59 kB / 1.186 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002246/1.284, allocations: 342.4 kB / 1.187 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004727/1.288, allocations: 0.5481 MB / 1.187 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005239/1.294, allocations: 0.8472 MB / 1.188 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00516/1.299, allocations: 0.5987 MB / 1.188 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.45e-05/1.299, allocations: 3 kB / 1.188 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.009522/1.309, allocations: 1.512 MB / 1.19 GB, free: 260 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/1.309, allocations: 8 kB / 1.19 GB, free: 260 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/1.309, allocations: 5.812 kB / 1.19 GB, free: 260 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.101e-05/1.309, allocations: 13 kB / 1.19 GB, free: 260 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002764/1.311, allocations: 302.5 kB / 1.19 GB, free: 172 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.755e-05/1.312, allocations: 19.58 kB / 1.19 GB, free: 164 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002817/1.314, allocations: 233.2 kB / 1.191 GB, free: 36 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000251/1.315, allocations: 47.45 kB / 1.191 GB, free: 24 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009615/1.316, allocations: 343 kB / 1.191 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004031/1.316, allocations: 136.1 kB / 1.191 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006993/1.323, allocations: 1.425 MB / 1.192 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/1.323, allocations: 8.156 kB / 1.192 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/1.323, allocations: 2.688 kB / 1.192 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.597e-05/1.323, allocations: 3.984 kB / 1.192 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01053/1.334, allocations: 2.841 MB / 1.195 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/1.334, allocations: 2.344 kB / 1.195 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002401/1.336, allocations: 224.4 kB / 1.195 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.921e-05/1.336, allocations: 12 kB / 1.195 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001495/1.336, allocations: 31.97 kB / 1.195 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.63e-05/1.336, allocations: 11.94 kB / 1.195 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.466e-05/1.336, allocations: 7.953 kB / 1.195 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01015/1.347, allocations: 2.279 MB / 1.198 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/1.348, allocations: 303.2 kB / 1.198 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003396/1.348, allocations: 27.92 kB / 1.198 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002252/1.35, allocations: 139.7 kB / 1.198 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000214/1.351, allocations: 60.45 kB / 1.198 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001545/1.351, allocations: 35.97 kB / 1.198 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001709/1.353, allocations: 0.8525 MB / 1.199 GB, free: 9.16 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.51e-07/1.353, allocations: 4 kB / 1.199 GB, free: 9.156 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001868/1.354, allocations: 315.7 kB / 1.199 GB, free: 8.848 MB / 0.7292 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 (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.01213/1.367, allocations: 3.262 MB / 1.203 GB, free: 5.684 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.006936/1.374, allocations: 1.298 MB / 1.204 GB, free: 4.391 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/1.374, allocations: 0 / 1.204 GB, free: 4.391 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00334/1.377, allocations: 0.6482 MB / 1.204 GB, free: 3.742 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005391/1.382, allocations: 0.5773 MB / 1.205 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02862/1.411, allocations: 8.7 MB / 1.214 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/1.412, allocations: 1.175 MB / 1.215 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002607/1.415, allocations: 346 kB / 1.215 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001341/1.416, allocations: 0.4993 MB / 1.215 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of SimCode: time 1.092e-06/1.416, allocations: 0 / 1.215 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09224/1.509, allocations: 32.71 MB / 1.247 GB, free: 7.629 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002255/1.509, allocations: 246.1 kB / 1.248 GB, free: 7.383 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.853/5.362, allocations: 0 / 1.248 GB, free: 7.383 MB / 0.7761 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)