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.00104/0.00104, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.007835/0.007835, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.289/1.289, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.361/2.361, allocations: 437.8 MB / 0.7121 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000301/0.0003011, allocations: 11.98 kB / 0.8729 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.515/0.5153, allocations: 153.8 MB / 1.023 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1446/0.6599, allocations: 171.9 MB / 1.191 GB, free: 3.215 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01209/0.6721, allocations: 10.77 MB / 1.202 GB, free: 8.402 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008419/0.6729, allocations: 31.81 kB / 1.202 GB, free: 8.371 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0008326/0.6738, allocations: 329.8 kB / 1.202 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002125/0.6759, allocations: 0.9796 MB / 1.203 GB, free: 7.066 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003069/0.679, allocations: 1.53 MB / 1.204 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002056/0.6811, allocations: 2.677 MB / 1.207 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/0.6823, allocations: 1.206 MB / 1.208 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002547/0.6849, allocations: 1.06 MB / 1.209 GB, free: 0.5703 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006558/0.6856, allocations: 0.6803 MB / 1.21 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.744e-05/0.6857, allocations: 47.94 kB / 1.21 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001942/0.6876, allocations: 1.427 MB / 1.211 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002489/0.6879, allocations: 310.7 kB / 1.212 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005096/0.6884, allocations: 0.6697 MB / 1.212 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002048/0.6905, allocations: 2.473 MB / 1.215 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.6905, allocations: 0 / 1.215 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6905, allocations: 0 / 1.215 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.335e-05/0.6905, allocations: 0 / 1.215 GB, free: 10.95 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.002487/0.693, allocations: 1.601 MB / 1.216 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.693, allocations: 8.031 kB / 1.216 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001892/0.6932, allocations: 173.4 kB / 1.216 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001929/0.6952, allocations: 365.8 kB / 1.217 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.6964, allocations: 0.9486 MB / 1.218 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.255e-05/0.6964, allocations: 90.33 kB / 1.218 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/0.6966, allocations: 115.9 kB / 1.218 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001917/0.6985, allocations: 1.307 MB / 1.219 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.6985, allocations: 0 / 1.219 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.6987, allocations: 52 kB / 1.219 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-05/0.6987, allocations: 28 kB / 1.219 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002159/0.7008, allocations: 1.457 MB / 1.221 GB, free: 4.629 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.005099/0.706, allocations: 4.111 MB / 1.225 GB, free: 312 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001966/0.7079, allocations: 1.216 MB / 1.226 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007382/0.7087, allocations: 454.5 kB / 1.226 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006476/0.7093, allocations: 441.5 kB / 1.227 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/0.7104, allocations: 0.6722 MB / 1.227 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=106): time 2.064e-06/0.7104, allocations: 0 / 1.227 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=106): time 0.003547/0.7139, allocations: 1.618 MB / 1.229 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.02e-05/0.714, allocations: 192.9 kB / 1.229 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009454/0.715, allocations: 0.879 MB / 1.23 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.668e-05/0.7151, allocations: 49.7 kB / 1.23 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003344/0.7154, allocations: 0.5198 MB / 1.231 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002334/0.7156, allocations: 350.9 kB / 1.231 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.7157, allocations: 77.67 kB / 1.231 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.7159, allocations: 349.9 kB / 1.231 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006758/0.7165, allocations: 365.8 kB / 1.232 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007601/0.7173, allocations: 0.501 MB / 1.232 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.7187, allocations: 0.8563 MB / 1.233 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.7187, allocations: 0 / 1.233 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00216/0.7209, allocations: 1.126 MB / 1.234 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.7209, allocations: 8 kB / 1.234 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.7209, allocations: 7.875 kB / 1.234 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005354/0.7215, allocations: 88.88 kB / 1.234 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008735/0.7224, allocations: 223.7 kB / 1.234 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/0.7241, allocations: 1.55 MB / 1.236 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008187/0.7249, allocations: 143 kB / 1.236 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.647e-05/0.725, allocations: 39.98 kB / 1.236 GB, free: 4.191 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.0003964/0.7254, allocations: 321.6 kB / 1.236 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.7256, allocations: 118.5 kB / 1.236 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002792/0.7284, allocations: 1.521 MB / 1.238 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.7284, allocations: 12 kB / 1.238 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.7284, allocations: 4.047 kB / 1.238 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.7284, allocations: 7.969 kB / 1.238 GB, free: 2.188 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.004068/0.7325, allocations: 2.85 MB / 1.241 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.7325, allocations: 0 / 1.241 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008292/0.7333, allocations: 203.7 kB / 1.241 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004786/0.7338, allocations: 88.95 kB / 1.241 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.691e-05/0.7339, allocations: 35.97 kB / 1.241 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001559/0.7355, allocations: 1.559 MB / 1.243 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.7355, allocations: 0 / 1.243 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003085/0.7386, allocations: 1.876 MB / 1.244 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004279/0.739, allocations: 359.2 kB / 1.245 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.7392, allocations: 31.92 kB / 1.245 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009025/0.7401, allocations: 105.5 kB / 1.245 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.7402, allocations: 84.88 kB / 1.245 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.422e-05/0.7403, allocations: 51.97 kB / 1.245 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007493/0.7411, allocations: 0.6261 MB / 1.246 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.283e-06/0.7411, allocations: 3.938 kB / 1.246 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009797/0.7421, allocations: 455 kB / 1.246 GB, free: 9.566 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.004627/0.7467, allocations: 3.039 MB / 1.249 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001906/0.7486, allocations: 1.073 MB / 1.25 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.7486, allocations: 0 / 1.25 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.7497, allocations: 0.6606 MB / 1.251 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002226/0.7519, allocations: 495.7 kB / 1.251 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3924/1.144, allocations: 9.868 MB / 1.261 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006471/1.145, allocations: 1.157 MB / 1.262 GB, free: 225.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001373/1.146, allocations: 376.2 kB / 1.262 GB, free: 225.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006712/1.147, allocations: 0.5291 MB / 1.263 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of SimCode: time 9.11e-07/1.147, allocations: 0.5625 kB / 1.263 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8956/2.043, allocations: 31.37 MB / 1.293 GB, free: 210.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001573/2.043, allocations: 262.8 kB / 1.294 GB, free: 210 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.939/4.982, allocations: 0 / 1.294 GB, free: 210 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)