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.001504/0.001504, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001711/0.001712, allocations: 188 kB / 16.25 MB, free: 6.152 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.292/1.292, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.211/2.211, allocations: 437 MB / 0.7101 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 67.88 kB / 0.8689 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4565/0.4577, allocations: 151.6 MB / 1.017 GB, free: 2.676 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1492/0.6069, allocations: 174.2 MB / 1.187 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01155/0.6185, allocations: 10.76 MB / 1.198 GB, free: 9.051 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000544/0.6191, allocations: 31.81 kB / 1.198 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0008468/0.6199, allocations: 341.8 kB / 1.198 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001995/0.622, allocations: 0.9951 MB / 1.199 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00288/0.6249, allocations: 1.561 MB / 1.2 GB, free: 6.133 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001808/0.6267, allocations: 2.373 MB / 1.203 GB, free: 3.75 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001421/0.6281, allocations: 1.396 MB / 1.204 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002803/0.6309, allocations: 1.264 MB / 1.205 GB, free: 1.066 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007192/0.6317, allocations: 0.8324 MB / 1.206 GB, free: 236 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001673/0.6318, allocations: 152 kB / 1.206 GB, free: 84 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001771/0.6336, allocations: 1.423 MB / 1.208 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000309/0.6339, allocations: 446.7 kB / 1.208 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005537/0.6345, allocations: 0.793 MB / 1.209 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002201/0.6367, allocations: 2.59 MB / 1.211 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.6367, allocations: 0 / 1.211 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.133e-06/0.6367, allocations: 0 / 1.211 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.353e-05/0.6367, allocations: 0 / 1.211 GB, free: 10.82 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.002665/0.6394, allocations: 1.895 MB / 1.213 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.6394, allocations: 8.031 kB / 1.213 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001749/0.6396, allocations: 177.4 kB / 1.213 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001938/0.6416, allocations: 349.9 kB / 1.214 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.6427, allocations: 0.9485 MB / 1.215 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.853e-05/0.6428, allocations: 90.33 kB / 1.215 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.643, allocations: 116 kB / 1.215 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/0.6449, allocations: 1.302 MB / 1.216 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.6449, allocations: 0 / 1.216 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.645, allocations: 51.98 kB / 1.216 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/0.645, allocations: 31.98 kB / 1.216 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002043/0.6471, allocations: 1.453 MB / 1.218 GB, free: 4.227 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.004913/0.652, allocations: 4.065 MB / 1.222 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001972/0.654, allocations: 1.204 MB / 1.223 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006982/0.6547, allocations: 454.8 kB / 1.223 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006605/0.6554, allocations: 425.5 kB / 1.224 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001015/0.6564, allocations: 0.6605 MB / 1.224 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=106): time 2.254e-06/0.6564, allocations: 0 / 1.224 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of matching and sorting (n=106): time 0.003599/0.66, allocations: 1.618 MB / 1.226 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.538e-05/0.6601, allocations: 196.9 kB / 1.226 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009014/0.661, allocations: 0.875 MB / 1.227 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.659e-05/0.6611, allocations: 49.64 kB / 1.227 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003186/0.6614, allocations: 0.5198 MB / 1.227 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002325/0.6616, allocations: 350.9 kB / 1.228 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002704/0.6619, allocations: 198.5 kB / 1.228 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.5e-05/0.662, allocations: 341.9 kB / 1.228 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006359/0.6627, allocations: 369.8 kB / 1.229 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007463/0.6634, allocations: 0.4932 MB / 1.229 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.6648, allocations: 0.8484 MB / 1.23 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6648, allocations: 0 / 1.23 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00219/0.667, allocations: 1.118 MB / 1.231 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.667, allocations: 12.16 kB / 1.231 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.667, allocations: 0 / 1.231 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000565/0.6676, allocations: 84.77 kB / 1.231 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000899/0.6685, allocations: 219.7 kB / 1.231 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001817/0.6703, allocations: 1.652 MB / 1.233 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008005/0.6711, allocations: 131.2 kB / 1.233 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-05/0.6712, allocations: 43.97 kB / 1.233 GB, free: 3.703 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.0004011/0.6716, allocations: 329.5 kB / 1.233 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/0.6718, allocations: 118.5 kB / 1.234 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002903/0.6747, allocations: 1.505 MB / 1.235 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.6748, allocations: 12 kB / 1.235 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.6748, allocations: 0 / 1.235 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.6748, allocations: 11.91 kB / 1.235 GB, free: 1.703 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.004293/0.6791, allocations: 2.834 MB / 1.238 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.6791, allocations: 0 / 1.238 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009063/0.68, allocations: 211.8 kB / 1.238 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000435/0.6805, allocations: 68.8 kB / 1.238 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.681e-05/0.6805, allocations: 31.97 kB / 1.238 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001725/0.6823, allocations: 1.689 MB / 1.24 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6823, allocations: 0 / 1.24 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003109/0.6854, allocations: 1.864 MB / 1.242 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003932/0.6858, allocations: 343.3 kB / 1.242 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/0.686, allocations: 24 kB / 1.242 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008761/0.6869, allocations: 91.81 kB / 1.242 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/0.687, allocations: 88.81 kB / 1.242 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.224e-05/0.6871, allocations: 51.91 kB / 1.242 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006682/0.6878, allocations: 0.6222 MB / 1.243 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.263e-06/0.6878, allocations: 4 kB / 1.243 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009036/0.6887, allocations: 463 kB / 1.243 GB, free: 9.012 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.004477/0.6932, allocations: 3.021 MB / 1.246 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002628/0.6958, allocations: 1.339 MB / 1.247 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6958, allocations: 0 / 1.247 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.6969, allocations: 0.6567 MB / 1.248 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/0.6988, allocations: 0.5393 MB / 1.249 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3609/1.06, allocations: 9.761 MB / 1.258 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007078/1.06, allocations: 1.161 MB / 1.259 GB, free: 227.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001373/1.062, allocations: 369.4 kB / 1.26 GB, free: 227.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006697/1.062, allocations: 0.5291 MB / 1.26 GB, free: 227.5 MB / 0.9981 GB Notification: Performance of SimCode: time 8.62e-07/1.063, allocations: 0 / 1.26 GB, free: 227.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.464/3.527, allocations: 32.63 MB / 1.292 GB, free: 210.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001553/3.527, allocations: 269.2 kB / 1.292 GB, free: 210.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.173/6.7, allocations: 7.938 kB / 1.292 GB, free: 210.5 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)