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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.004096/0.004096, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.0009539/0.000954, allocations: 190.4 kB / 16.67 MB, free: 5.98 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.161/1.161, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.003/2.003, allocations: 390.3 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001048/0.001048, allocations: 62.75 kB / 0.9504 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1968, allocations: 140.4 MB / 1.087 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1475/0.3444, allocations: 176 MB / 1.259 GB, free: 1.312 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.4565/0.8009, allocations: 10.83 MB / 1.27 GB, free: 3.129 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006597/0.8016, allocations: 29.84 kB / 1.27 GB, free: 3.129 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0008335/0.8024, allocations: 400.4 kB / 1.27 GB, free: 3.125 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002147/0.8046, allocations: 1.056 MB / 1.271 GB, free: 3.09 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003342/0.808, allocations: 1.705 MB / 1.273 GB, free: 3.039 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002069/0.8101, allocations: 2.298 MB / 1.275 GB, free: 3.031 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001636/0.8117, allocations: 1.442 MB / 1.277 GB, free: 2.84 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002701/0.8144, allocations: 1.243 MB / 1.278 GB, free: 2.832 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009563/0.8154, allocations: 0.796 MB / 1.279 GB, free: 2.832 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002703/0.8157, allocations: 154.9 kB / 1.279 GB, free: 2.832 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002325/0.818, allocations: 1.412 MB / 1.28 GB, free: 2.809 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003563/0.8184, allocations: 452 kB / 1.281 GB, free: 2.809 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006534/0.819, allocations: 0.773 MB / 1.281 GB, free: 2.805 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003002/0.822, allocations: 2.557 MB / 1.284 GB, free: 2.633 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.822, allocations: 1.891 kB / 1.284 GB, free: 2.633 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.013e-06/0.8221, allocations: 0.625 kB / 1.284 GB, free: 2.633 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.226e-05/0.8221, allocations: 3.938 kB / 1.284 GB, free: 2.629 MB / 1.014 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.002929/0.825, allocations: 1.875 MB / 1.286 GB, free: 1.676 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.8251, allocations: 11.09 kB / 1.286 GB, free: 1.676 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001853/0.8252, allocations: 177.1 kB / 1.286 GB, free: 1.633 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001957/0.8272, allocations: 351.2 kB / 1.286 GB, free: 1.551 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.8287, allocations: 0.9838 MB / 1.287 GB, free: 1.199 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.634e-05/0.8287, allocations: 89.73 kB / 1.287 GB, free: 1.195 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/0.8289, allocations: 123.6 kB / 1.287 GB, free: 1.188 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002052/0.831, allocations: 1.301 MB / 1.289 GB, free: 1.012 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.831, allocations: 3.938 kB / 1.289 GB, free: 1.008 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.8311, allocations: 49.08 kB / 1.289 GB, free: 1.008 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/0.8311, allocations: 27.62 kB / 1.289 GB, free: 1.008 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002503/0.8337, allocations: 1.451 MB / 1.29 GB, free: 0.9922 MB / 1.014 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.005455/0.8391, allocations: 3.819 MB / 1.294 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001963/0.8411, allocations: 1.226 MB / 1.295 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006892/0.8418, allocations: 449.2 kB / 1.296 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006652/0.8425, allocations: 426 kB / 1.296 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001/0.8435, allocations: 0.6556 MB / 1.297 GB, free: 15.15 MB / 1.029 GB Notification: Performance of pre-optimization done (n=106): time 4.278e-06/0.8435, allocations: 1.031 kB / 1.297 GB, free: 15.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=106): time 0.003604/0.8471, allocations: 1.614 MB / 1.298 GB, free: 14.92 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.846e-05/0.8472, allocations: 199.2 kB / 1.298 GB, free: 14.7 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009968/0.8482, allocations: 0.8754 MB / 1.299 GB, free: 14.55 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.042e-05/0.8483, allocations: 47.33 kB / 1.299 GB, free: 14.52 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003169/0.8486, allocations: 0.5198 MB / 1.3 GB, free: 14.31 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002401/0.8489, allocations: 354.6 kB / 1.3 GB, free: 14.09 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002673/0.8492, allocations: 196.2 kB / 1.3 GB, free: 14.07 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.929e-05/0.8493, allocations: 343.9 kB / 1.301 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006276/0.8499, allocations: 361.3 kB / 1.301 GB, free: 13.76 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007629/0.8507, allocations: 0.4966 MB / 1.301 GB, free: 13.66 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.852, allocations: 0.8453 MB / 1.302 GB, free: 13.59 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.8521, allocations: 1.219 kB / 1.302 GB, free: 13.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00221/0.8543, allocations: 1.119 MB / 1.303 GB, free: 13.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.8543, allocations: 5.969 kB / 1.303 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.8543, allocations: 1.219 kB / 1.303 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005335/0.8548, allocations: 84.44 kB / 1.303 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008695/0.8557, allocations: 221.2 kB / 1.304 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/0.8575, allocations: 1.649 MB / 1.305 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008661/0.8584, allocations: 121 kB / 1.305 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.161e-05/0.8585, allocations: 40.78 kB / 1.305 GB, free: 12.03 MB / 1.029 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.0004665/0.859, allocations: 329 kB / 1.306 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000205/0.8592, allocations: 120 kB / 1.306 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002693/0.8619, allocations: 1.508 MB / 1.307 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.8619, allocations: 11.97 kB / 1.307 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.8619, allocations: 0.75 kB / 1.307 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.8619, allocations: 6.984 kB / 1.307 GB, free: 11.7 MB / 1.029 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.00425/0.8662, allocations: 2.838 MB / 1.31 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.8662, allocations: 2.219 kB / 1.31 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008213/0.867, allocations: 200 kB / 1.31 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003985/0.8674, allocations: 80.39 kB / 1.31 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.894e-05/0.8675, allocations: 31.83 kB / 1.31 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/0.8691, allocations: 1.684 MB / 1.312 GB, free: 9.719 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.8692, allocations: 2.5 kB / 1.312 GB, free: 9.719 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002979/0.8721, allocations: 1.864 MB / 1.314 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004588/0.8726, allocations: 345 kB / 1.314 GB, free: 9.262 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/0.8728, allocations: 28.69 kB / 1.314 GB, free: 9.262 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000793/0.8736, allocations: 75.58 kB / 1.314 GB, free: 9.262 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.8737, allocations: 85.39 kB / 1.314 GB, free: 9.262 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-05/0.8738, allocations: 50.25 kB / 1.314 GB, free: 9.262 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006883/0.8745, allocations: 0.6243 MB / 1.315 GB, free: 9.152 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8745, allocations: 2.344 kB / 1.315 GB, free: 9.152 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001116/0.8756, allocations: 444.9 kB / 1.315 GB, free: 9.082 MB / 1.029 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.004488/0.8801, allocations: 3.014 MB / 1.318 GB, free: 8.121 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001739/0.8819, allocations: 1.071 MB / 1.319 GB, free: 7.984 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.8819, allocations: 0 / 1.319 GB, free: 7.984 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009828/0.8829, allocations: 0.6605 MB / 1.32 GB, free: 7.871 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001882/0.8848, allocations: 0.5295 MB / 1.321 GB, free: 7.793 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01236/0.8972, allocations: 8.87 MB / 1.329 GB, free: 4.195 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000584/0.8978, allocations: 1.16 MB / 1.33 GB, free: 3.457 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001074/0.8988, allocations: 367.6 kB / 1.331 GB, free: 3.355 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006448/0.8995, allocations: 0.5312 MB / 1.331 GB, free: 2.977 MB / 1.029 GB Notification: Performance of SimCode: time 3.6e-07/0.8995, allocations: 0 / 1.331 GB, free: 2.977 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.946/4.846, allocations: 32.73 MB / 1.363 GB, free: 6.484 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/18.24, allocations: 15.16 kB / 1.363 GB, free: 6.473 MB / 1.045 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)