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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001501/0.001501, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.3/1.3, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.451/2.451, allocations: 437 MB / 0.7099 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.91 kB / 0.8686 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4924/0.4936, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1541/0.6478, allocations: 174.3 MB / 1.187 GB, free: 3.906 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01282/0.6607, allocations: 10.93 MB / 1.198 GB, free: 8.938 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009279/0.6616, allocations: 31.81 kB / 1.198 GB, free: 8.906 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.6627, allocations: 329.8 kB / 1.198 GB, free: 8.582 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002456/0.6652, allocations: 0.9822 MB / 1.199 GB, free: 7.598 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003243/0.6685, allocations: 1.532 MB / 1.2 GB, free: 6.074 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002269/0.6708, allocations: 2.669 MB / 1.203 GB, free: 3.395 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001414/0.6722, allocations: 1.274 MB / 1.204 GB, free: 2.082 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002778/0.675, allocations: 1.126 MB / 1.205 GB, free: 0.9648 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007067/0.6757, allocations: 0.791 MB / 1.206 GB, free: 176 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000158/0.6759, allocations: 83.98 kB / 1.206 GB, free: 92 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002133/0.678, allocations: 1.462 MB / 1.208 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003023/0.6783, allocations: 366.7 kB / 1.208 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005754/0.6789, allocations: 0.711 MB / 1.209 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002285/0.6812, allocations: 2.524 MB / 1.211 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.6812, allocations: 3.984 kB / 1.211 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of FrontEnd: time 8.12e-07/0.6812, allocations: 4 kB / 1.211 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.6812, allocations: 0 / 1.211 GB, free: 11.01 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.003002/0.6842, allocations: 1.888 MB / 1.213 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.6843, allocations: 8.031 kB / 1.213 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001948/0.6845, allocations: 181.4 kB / 1.213 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002157/0.6867, allocations: 353.8 kB / 1.213 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.6879, allocations: 0.9447 MB / 1.214 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.306e-05/0.688, allocations: 94.27 kB / 1.214 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.6882, allocations: 112 kB / 1.215 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002033/0.6902, allocations: 1.302 MB / 1.216 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.6902, allocations: 4 kB / 1.216 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.6904, allocations: 52 kB / 1.216 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.027e-05/0.6904, allocations: 28 kB / 1.216 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002299/0.6927, allocations: 1.449 MB / 1.217 GB, free: 4.422 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.005377/0.6981, allocations: 4.068 MB / 1.221 GB, free: 152 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002085/0.7002, allocations: 1.208 MB / 1.222 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007519/0.7009, allocations: 452.4 kB / 1.223 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007111/0.7017, allocations: 425.5 kB / 1.223 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001091/0.7028, allocations: 0.6605 MB / 1.224 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=106): time 2.254e-06/0.7028, allocations: 0 / 1.224 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of matching and sorting (n=106): time 0.003869/0.7066, allocations: 1.61 MB / 1.226 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.853e-05/0.7067, allocations: 196.9 kB / 1.226 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009764/0.7077, allocations: 0.879 MB / 1.227 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.933e-05/0.7078, allocations: 45.7 kB / 1.227 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003433/0.7082, allocations: 0.5159 MB / 1.227 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/0.7084, allocations: 350.9 kB / 1.227 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002857/0.7087, allocations: 198.5 kB / 1.228 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.7088, allocations: 345.9 kB / 1.228 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007033/0.7095, allocations: 361.8 kB / 1.228 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008148/0.7103, allocations: 0.501 MB / 1.229 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/0.7118, allocations: 0.8445 MB / 1.23 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.7118, allocations: 0 / 1.23 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00241/0.7143, allocations: 1.114 MB / 1.231 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.7143, allocations: 7.938 kB / 1.231 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.7143, allocations: 4 kB / 1.231 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006126/0.7149, allocations: 84.86 kB / 1.231 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009628/0.7159, allocations: 223.7 kB / 1.231 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001898/0.7178, allocations: 1.546 MB / 1.233 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008727/0.7187, allocations: 131 kB / 1.233 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.738e-05/0.7188, allocations: 43.97 kB / 1.233 GB, free: 4.012 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.0004294/0.7192, allocations: 325.5 kB / 1.233 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002044/0.7194, allocations: 122.4 kB / 1.233 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003045/0.7225, allocations: 1.509 MB / 1.235 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.7225, allocations: 12 kB / 1.235 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.7225, allocations: 0 / 1.235 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.7225, allocations: 7.969 kB / 1.235 GB, free: 2.016 MB / 0.9825 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.004387/0.7269, allocations: 2.842 MB / 1.237 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.7269, allocations: 4.172 kB / 1.237 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009059/0.7279, allocations: 207.7 kB / 1.238 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005067/0.7284, allocations: 80.78 kB / 1.238 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.503e-05/0.7285, allocations: 31.97 kB / 1.238 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001679/0.7301, allocations: 1.552 MB / 1.239 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/0.7302, allocations: 7.938 kB / 1.239 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003335/0.7335, allocations: 1.864 MB / 1.241 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004212/0.7339, allocations: 339.3 kB / 1.241 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001726/0.7341, allocations: 31.92 kB / 1.241 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000954/0.7351, allocations: 87.83 kB / 1.242 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/0.7353, allocations: 85.17 kB / 1.242 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.181e-05/0.7354, allocations: 51.97 kB / 1.242 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007441/0.7361, allocations: 0.6261 MB / 1.242 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7361, allocations: 7.938 kB / 1.242 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001004/0.7371, allocations: 447.1 kB / 1.243 GB, free: 9.457 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.004969/0.7421, allocations: 3.03 MB / 1.246 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001943/0.7441, allocations: 1.058 MB / 1.247 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.7441, allocations: 4.312 kB / 1.247 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001139/0.7452, allocations: 0.6563 MB / 1.247 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002037/0.7473, allocations: 0.4975 MB / 1.248 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3802/1.127, allocations: 9.78 MB / 1.257 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006277/1.128, allocations: 1.157 MB / 1.258 GB, free: 228.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001348/1.129, allocations: 367.3 kB / 1.259 GB, free: 228.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000652/1.13, allocations: 0.5297 MB / 1.259 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/1.13, allocations: 0 / 1.259 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.236/4.366, allocations: 31.74 MB / 1.29 GB, free: 212.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002103/4.367, allocations: 267.1 kB / 1.291 GB, free: 212.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.663/8.03, allocations: 4 kB / 1.291 GB, free: 212.1 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)