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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001014/0.001017, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007641/0.007641, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.343/1.343, allocations: 223.3 MB / 240.3 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.305/2.305, allocations: 390.9 MB / 0.6664 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003115/0.0003115, allocations: 12.28 kB / 0.8161 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5484/0.5487, allocations: 142.4 MB / 0.9552 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1658/0.7145, allocations: 171.4 MB / 1.123 GB, free: 3.348 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01274/0.7273, allocations: 10.71 MB / 1.133 GB, free: 8.602 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009602/0.7283, allocations: 27.81 kB / 1.133 GB, free: 8.574 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0008783/0.7292, allocations: 325.8 kB / 1.133 GB, free: 8.254 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002332/0.7315, allocations: 0.9491 MB / 1.134 GB, free: 7.305 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003365/0.7349, allocations: 1.521 MB / 1.136 GB, free: 5.793 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002303/0.7372, allocations: 2.584 MB / 1.138 GB, free: 3.199 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0014/0.7386, allocations: 1.244 MB / 1.14 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002714/0.7413, allocations: 1.046 MB / 1.141 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006935/0.7421, allocations: 0.6725 MB / 1.141 GB, free: 212 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.7422, allocations: 44 kB / 1.141 GB, free: 168 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002124/0.7443, allocations: 1.423 MB / 1.143 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002733/0.7446, allocations: 322.7 kB / 1.143 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005176/0.7451, allocations: 0.6503 MB / 1.144 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002207/0.7473, allocations: 2.441 MB / 1.146 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.7473, allocations: 8 kB / 1.146 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.302e-06/0.7473, allocations: 0 / 1.146 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.249e-05/0.7474, allocations: 0 / 1.146 GB, free: 11.3 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.002616/0.75, allocations: 1.584 MB / 1.148 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.75, allocations: 12.03 kB / 1.148 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001977/0.7502, allocations: 173.4 kB / 1.148 GB, free: 9.469 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002032/0.7523, allocations: 365.8 kB / 1.148 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/0.7536, allocations: 0.9447 MB / 1.149 GB, free: 8.121 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.91e-05/0.7536, allocations: 90.33 kB / 1.149 GB, free: 8.031 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/0.7538, allocations: 116 kB / 1.149 GB, free: 7.918 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002239/0.7561, allocations: 1.306 MB / 1.15 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/0.7561, allocations: 0 / 1.15 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001743/0.7563, allocations: 52 kB / 1.15 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.172e-05/0.7563, allocations: 28 kB / 1.151 GB, free: 6.469 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002985/0.7593, allocations: 1.461 MB / 1.152 GB, free: 5 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.005559/0.7649, allocations: 3.887 MB / 1.156 GB, free: 0.9531 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002139/0.767, allocations: 1.212 MB / 1.157 GB, free: 15.72 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007745/0.7678, allocations: 457.5 kB / 1.157 GB, free: 15.27 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007247/0.7686, allocations: 449.4 kB / 1.158 GB, free: 14.76 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001112/0.7697, allocations: 0.6567 MB / 1.158 GB, free: 14.08 MB / 0.92 GB Notification: Performance of pre-optimization done (n=106): time 2.625e-06/0.7697, allocations: 0 / 1.158 GB, free: 14.08 MB / 0.92 GB Notification: Performance of matching and sorting (n=106): time 0.003857/0.7736, allocations: 1.629 MB / 1.16 GB, free: 12.43 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.98e-05/0.7737, allocations: 192.9 kB / 1.16 GB, free: 12.2 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.7747, allocations: 0.8712 MB / 1.161 GB, free: 11.3 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.711e-05/0.7748, allocations: 57.69 kB / 1.161 GB, free: 11.24 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003694/0.7752, allocations: 0.516 MB / 1.162 GB, free: 10.71 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002561/0.7755, allocations: 354.8 kB / 1.162 GB, free: 10.36 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.7756, allocations: 81.67 kB / 1.162 GB, free: 10.28 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.7757, allocations: 349.9 kB / 1.162 GB, free: 9.93 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000717/0.7764, allocations: 361.8 kB / 1.163 GB, free: 9.574 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008304/0.7773, allocations: 0.501 MB / 1.163 GB, free: 9.035 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/0.7788, allocations: 0.8601 MB / 1.164 GB, free: 8.16 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.7788, allocations: 0 / 1.164 GB, free: 8.16 MB / 0.92 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002367/0.7812, allocations: 1.122 MB / 1.165 GB, free: 7.027 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.7812, allocations: 7.984 kB / 1.165 GB, free: 7.02 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.7812, allocations: 0 / 1.165 GB, free: 7.02 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005936/0.7818, allocations: 84.81 kB / 1.165 GB, free: 6.934 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009583/0.7828, allocations: 223.7 kB / 1.165 GB, free: 6.715 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/0.7847, allocations: 1.546 MB / 1.167 GB, free: 5.031 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009253/0.7856, allocations: 144.3 kB / 1.167 GB, free: 4.891 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.251e-05/0.7857, allocations: 43.97 kB / 1.167 GB, free: 4.848 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.0004618/0.7862, allocations: 317.5 kB / 1.167 GB, free: 4.527 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.7864, allocations: 126.5 kB / 1.168 GB, free: 4.402 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003036/0.7894, allocations: 1.513 MB / 1.169 GB, free: 2.863 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.7894, allocations: 11.94 kB / 1.169 GB, free: 2.852 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.7895, allocations: 4 kB / 1.169 GB, free: 2.848 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.7895, allocations: 7.922 kB / 1.169 GB, free: 2.84 MB / 0.92 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.004457/0.7939, allocations: 2.857 MB / 1.172 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.7939, allocations: 4 kB / 1.172 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000886/0.7948, allocations: 203.7 kB / 1.172 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005158/0.7954, allocations: 88.95 kB / 1.172 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.925e-05/0.7954, allocations: 31.97 kB / 1.172 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001718/0.7972, allocations: 1.555 MB / 1.174 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.7972, allocations: 7.938 kB / 1.174 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003311/0.8005, allocations: 1.876 MB / 1.176 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004623/0.801, allocations: 359.3 kB / 1.176 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/0.8011, allocations: 31.94 kB / 1.176 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009588/0.8021, allocations: 99.83 kB / 1.176 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/0.8023, allocations: 85.11 kB / 1.176 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.94e-05/0.8024, allocations: 47.97 kB / 1.176 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007884/0.8032, allocations: 0.63 MB / 1.177 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8032, allocations: 4 kB / 1.177 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001053/0.8043, allocations: 439.1 kB / 1.177 GB, free: 10.23 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.005021/0.8093, allocations: 3.037 MB / 1.18 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002028/0.8113, allocations: 1.069 MB / 1.181 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.8113, allocations: 4 kB / 1.181 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.8125, allocations: 0.6644 MB / 1.182 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002409/0.8149, allocations: 493.5 kB / 1.182 GB, free: 5.102 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01648/0.8314, allocations: 10.05 MB / 1.192 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007119/0.8321, allocations: 1.162 MB / 1.193 GB, free: 9.504 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.00135/0.8335, allocations: 369.7 kB / 1.194 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007551/0.8343, allocations: 0.5266 MB / 1.194 GB, free: 8.613 MB / 0.9512 GB Notification: Performance of SimCode: time 9.12e-07/0.8343, allocations: 0 / 1.194 GB, free: 8.613 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7146/1.549, allocations: 30.95 MB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003307/1.549, allocations: 261.5 kB / 1.225 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.687/4.237, allocations: 0 / 1.225 GB, free: 9.758 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)