Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Sources.Examples.Outside,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside",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.001083/0.001083, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 194.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.246/2.246, allocations: 390.2 MB / 0.6647 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.91 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5124/0.5137, allocations: 140.4 MB / 0.9497 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1702/0.6839, allocations: 176 MB / 1.122 GB, free: 1.18 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01312/0.6971, allocations: 10.85 MB / 1.132 GB, free: 6.301 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005671/0.6977, allocations: 31.81 kB / 1.132 GB, free: 6.27 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0009126/0.6986, allocations: 400.9 kB / 1.133 GB, free: 5.875 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002147/0.7008, allocations: 1.048 MB / 1.134 GB, free: 4.824 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003178/0.704, allocations: 1.698 MB / 1.135 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001873/0.7059, allocations: 2.288 MB / 1.138 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00154/0.7074, allocations: 1.427 MB / 1.139 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002368/0.7098, allocations: 1.254 MB / 1.14 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007952/0.7106, allocations: 0.8026 MB / 1.141 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002098/0.7108, allocations: 156 kB / 1.141 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002028/0.7129, allocations: 1.376 MB / 1.142 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003492/0.7132, allocations: 454.6 kB / 1.143 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000633/0.7139, allocations: 0.7696 MB / 1.144 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002508/0.7164, allocations: 2.509 MB / 1.146 GB, free: 8.051 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.7164, allocations: 0 / 1.146 GB, free: 8.051 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7164, allocations: 0 / 1.146 GB, free: 8.051 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.478e-05/0.7164, allocations: 0 / 1.146 GB, free: 8.051 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.002926/0.7193, allocations: 1.876 MB / 1.148 GB, free: 6.117 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.7194, allocations: 8.031 kB / 1.148 GB, free: 6.109 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002026/0.7196, allocations: 181.4 kB / 1.148 GB, free: 5.922 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002122/0.7217, allocations: 349.9 kB / 1.148 GB, free: 5.578 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.723, allocations: 0.9563 MB / 1.149 GB, free: 4.574 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.809e-05/0.7231, allocations: 90.33 kB / 1.149 GB, free: 4.484 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.7233, allocations: 115.9 kB / 1.15 GB, free: 4.371 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/0.7253, allocations: 1.294 MB / 1.151 GB, free: 3.012 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.7253, allocations: 0 / 1.151 GB, free: 3.012 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/0.7255, allocations: 51.98 kB / 1.151 GB, free: 2.961 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/0.7255, allocations: 28 kB / 1.151 GB, free: 2.934 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00233/0.7278, allocations: 1.453 MB / 1.152 GB, free: 1.473 MB / 0.9044 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.005473/0.7333, allocations: 3.868 MB / 1.156 GB, free: 13.45 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002168/0.7355, allocations: 1.211 MB / 1.157 GB, free: 12.22 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007749/0.7363, allocations: 456.4 kB / 1.158 GB, free: 11.77 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007166/0.737, allocations: 417.5 kB / 1.158 GB, free: 11.29 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001088/0.7381, allocations: 0.6645 MB / 1.159 GB, free: 10.61 MB / 0.92 GB Notification: Performance of pre-optimization done (n=106): time 2.244e-06/0.7381, allocations: 0 / 1.159 GB, free: 10.61 MB / 0.92 GB Notification: Performance of matching and sorting (n=106): time 0.003948/0.7421, allocations: 1.61 MB / 1.16 GB, free: 8.965 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.815e-05/0.7422, allocations: 196.9 kB / 1.16 GB, free: 8.73 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.7432, allocations: 0.8788 MB / 1.161 GB, free: 7.828 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.197e-05/0.7433, allocations: 53.69 kB / 1.161 GB, free: 7.77 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003708/0.7437, allocations: 0.516 MB / 1.162 GB, free: 7.246 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002528/0.744, allocations: 343 kB / 1.162 GB, free: 6.906 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002898/0.7443, allocations: 190.5 kB / 1.162 GB, free: 6.715 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.7444, allocations: 349.9 kB / 1.163 GB, free: 6.367 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007237/0.7451, allocations: 361.8 kB / 1.163 GB, free: 6.012 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008536/0.746, allocations: 0.501 MB / 1.164 GB, free: 5.477 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001585/0.7476, allocations: 0.8484 MB / 1.164 GB, free: 4.613 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.7476, allocations: 0 / 1.164 GB, free: 4.613 MB / 0.92 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002454/0.75, allocations: 1.118 MB / 1.166 GB, free: 3.484 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.7501, allocations: 4 kB / 1.166 GB, free: 3.48 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.7501, allocations: 0 / 1.166 GB, free: 3.48 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006051/0.7507, allocations: 84.88 kB / 1.166 GB, free: 3.395 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009571/0.7517, allocations: 223.7 kB / 1.166 GB, free: 3.176 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/0.7536, allocations: 1.658 MB / 1.167 GB, free: 1.371 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008315/0.7545, allocations: 118.9 kB / 1.168 GB, free: 1.254 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.929e-05/0.7546, allocations: 43.97 kB / 1.168 GB, free: 1.211 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004433/0.755, allocations: 329.5 kB / 1.168 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/0.7552, allocations: 114.6 kB / 1.168 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003154/0.7584, allocations: 1.501 MB / 1.169 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.7584, allocations: 12 kB / 1.169 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.7584, allocations: 4 kB / 1.169 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.7585, allocations: 15.91 kB / 1.169 GB, free: 15.2 MB / 0.9356 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 postOpt removeSimpleEquations (simulation): time 0.004551/0.763, allocations: 2.834 MB / 1.172 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.763, allocations: 8 kB / 1.172 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009264/0.764, allocations: 203.7 kB / 1.172 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004694/0.7644, allocations: 72.92 kB / 1.173 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.06e-05/0.7645, allocations: 35.97 kB / 1.173 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001873/0.7664, allocations: 1.674 MB / 1.174 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.7664, allocations: 4.141 kB / 1.174 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0035/0.7699, allocations: 1.864 MB / 1.176 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004542/0.7704, allocations: 343.2 kB / 1.176 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/0.7706, allocations: 24 kB / 1.176 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009241/0.7715, allocations: 79.61 kB / 1.176 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/0.7717, allocations: 96.75 kB / 1.177 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.083e-05/0.7718, allocations: 43.97 kB / 1.177 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008025/0.7726, allocations: 0.6339 MB / 1.177 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7726, allocations: 7.938 kB / 1.177 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001013/0.7736, allocations: 443 kB / 1.178 GB, free: 6.551 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005223/0.7789, allocations: 3.019 MB / 1.181 GB, free: 3.672 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003006/0.7819, allocations: 1.327 MB / 1.182 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.7819, allocations: 0 / 1.182 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001209/0.7831, allocations: 0.6646 MB / 1.183 GB, free: 1.652 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002109/0.7852, allocations: 0.523 MB / 1.183 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01492/0.8002, allocations: 9.406 MB / 1.192 GB, free: 7.387 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007098/0.8009, allocations: 1.162 MB / 1.193 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001255/0.8022, allocations: 373.6 kB / 1.194 GB, free: 5.828 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007396/0.8029, allocations: 0.5305 MB / 1.194 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of SimCode: time 3.31e-07/0.8029, allocations: 0 / 1.194 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.274/4.077, allocations: 32.42 MB / 1.226 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.9/23.98, allocations: 19.88 kB / 1.226 GB, free: 5.242 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1)