Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_10_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.001099/0.001099, allocations: 108 kB / 15.6 MB, free: 132 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.00105/0.00105, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.208/1.208, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.249/2.249, allocations: 437 MB / 0.7104 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 67.89 kB / 0.8693 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4756/0.4769, allocations: 151.6 MB / 1.017 GB, free: 2.43 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1503/0.6272, allocations: 176.5 MB / 1.19 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01236/0.6396, allocations: 10.91 MB / 1.2 GB, free: 6.27 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008866/0.6405, allocations: 27.88 kB / 1.2 GB, free: 6.242 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.6415, allocations: 416.7 kB / 1.201 GB, free: 5.832 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002491/0.644, allocations: 1.094 MB / 1.202 GB, free: 4.734 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00318/0.6472, allocations: 1.703 MB / 1.204 GB, free: 3.039 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002091/0.6493, allocations: 2.369 MB / 1.206 GB, free: 0.6602 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001581/0.6509, allocations: 1.408 MB / 1.207 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002459/0.6534, allocations: 1.268 MB / 1.209 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008908/0.6543, allocations: 0.8013 MB / 1.209 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002385/0.6545, allocations: 156 kB / 1.209 GB, free: 13 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001989/0.6565, allocations: 1.38 MB / 1.211 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003601/0.6569, allocations: 454.6 kB / 1.211 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007249/0.6576, allocations: 0.7814 MB / 1.212 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002459/0.6601, allocations: 2.536 MB / 1.214 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.6601, allocations: 0 / 1.214 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6601, allocations: 0 / 1.214 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.657e-05/0.6602, allocations: 4 kB / 1.214 GB, free: 7.844 MB / 0.9669 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.002651/0.6628, allocations: 1.891 MB / 1.216 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.6628, allocations: 12.03 kB / 1.216 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001895/0.663, allocations: 177.4 kB / 1.217 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001895/0.6649, allocations: 349.9 kB / 1.217 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.6662, allocations: 0.9446 MB / 1.218 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.196e-05/0.6662, allocations: 86.33 kB / 1.218 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.6664, allocations: 124 kB / 1.218 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001853/0.6682, allocations: 1.294 MB / 1.219 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.6683, allocations: 0 / 1.219 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.6684, allocations: 59.88 kB / 1.219 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.6684, allocations: 31.98 kB / 1.219 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002095/0.6705, allocations: 1.449 MB / 1.221 GB, free: 1.25 MB / 0.9669 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.005071/0.6756, allocations: 4.072 MB / 1.225 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001941/0.6775, allocations: 1.215 MB / 1.226 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006862/0.6782, allocations: 448.8 kB / 1.226 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006273/0.6789, allocations: 429.5 kB / 1.227 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009869/0.6799, allocations: 0.6605 MB / 1.227 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=106): time 2.064e-06/0.6799, allocations: 0 / 1.227 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of matching and sorting (n=106): time 0.003522/0.6834, allocations: 1.61 MB / 1.229 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/0.6835, allocations: 196.9 kB / 1.229 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009095/0.6844, allocations: 0.875 MB / 1.23 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.137e-05/0.6845, allocations: 45.7 kB / 1.23 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003258/0.6848, allocations: 0.5198 MB / 1.231 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002225/0.6851, allocations: 350.9 kB / 1.231 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002621/0.6853, allocations: 198.5 kB / 1.231 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.933e-05/0.6854, allocations: 349.8 kB / 1.231 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006362/0.6861, allocations: 361.8 kB / 1.232 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007594/0.6868, allocations: 0.4971 MB / 1.232 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/0.6883, allocations: 0.8445 MB / 1.233 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.6883, allocations: 4 kB / 1.233 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002181/0.6905, allocations: 1.114 MB / 1.234 GB, free: 3 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.6905, allocations: 12.16 kB / 1.234 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.6905, allocations: 0 / 1.234 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005325/0.691, allocations: 84.77 kB / 1.234 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000883/0.6919, allocations: 219.7 kB / 1.234 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001773/0.6937, allocations: 1.649 MB / 1.236 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007546/0.6945, allocations: 119.1 kB / 1.236 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-05/0.6946, allocations: 48.11 kB / 1.236 GB, free: 0.7266 MB / 0.9825 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.0004029/0.695, allocations: 327 kB / 1.237 GB, free: 408 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/0.6952, allocations: 118.5 kB / 1.237 GB, free: 288 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002777/0.698, allocations: 1.513 MB / 1.238 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.698, allocations: 12 kB / 1.238 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.698, allocations: 0 / 1.238 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.698, allocations: 11.91 kB / 1.238 GB, free: 14.73 MB / 0.9981 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.004123/0.7021, allocations: 2.834 MB / 1.241 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.7021, allocations: 7.938 kB / 1.241 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008108/0.703, allocations: 195.8 kB / 1.241 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004204/0.7034, allocations: 76.97 kB / 1.241 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-05/0.7035, allocations: 27.98 kB / 1.241 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001634/0.7051, allocations: 1.685 MB / 1.243 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.7051, allocations: 7.938 kB / 1.243 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003063/0.7082, allocations: 1.864 MB / 1.245 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000416/0.7086, allocations: 343.3 kB / 1.245 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/0.7088, allocations: 24 kB / 1.245 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008076/0.7096, allocations: 71.92 kB / 1.245 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.7098, allocations: 96.75 kB / 1.245 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.297e-05/0.7099, allocations: 47.97 kB / 1.245 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007214/0.7106, allocations: 0.63 MB / 1.246 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7106, allocations: 0 / 1.246 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009693/0.7116, allocations: 451.1 kB / 1.246 GB, free: 6.062 MB / 0.9981 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.004661/0.7162, allocations: 3.023 MB / 1.249 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002752/0.719, allocations: 1.343 MB / 1.251 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.719, allocations: 0 / 1.251 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.7202, allocations: 0.6606 MB / 1.251 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001955/0.7221, allocations: 0.5328 MB / 1.252 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4172/1.139, allocations: 9.272 MB / 1.261 GB, free: 42.45 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007495/1.14, allocations: 1.16 MB / 1.262 GB, free: 41.74 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001365/1.142, allocations: 370.2 kB / 1.262 GB, free: 41.71 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006131/1.142, allocations: 0.5309 MB / 1.263 GB, free: 41.7 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/1.142, allocations: 0.75 kB / 1.263 GB, free: 41.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7563/1.898, allocations: 32.87 MB / 1.295 GB, free: 39.59 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/14.07, allocations: 8.281 kB / 1.295 GB, free: 39.59 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Examples.Outside_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1)