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.001692/0.001692, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002165/0.002165, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.24/1.24, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.042/2.042, allocations: 390.3 MB / 0.6644 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 59.89 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4791/0.4802, allocations: 140.4 MB / 0.9492 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1493/0.6296, allocations: 173.7 MB / 1.119 GB, free: 3.762 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01128/0.6409, allocations: 10.73 MB / 1.129 GB, free: 9 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007787/0.6417, allocations: 27.81 kB / 1.129 GB, free: 8.973 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0009255/0.6426, allocations: 329.8 kB / 1.13 GB, free: 8.648 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003234/0.6459, allocations: 0.9602 MB / 1.131 GB, free: 7.688 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004359/0.6503, allocations: 1.547 MB / 1.132 GB, free: 6.148 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002025/0.6523, allocations: 2.299 MB / 1.134 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001559/0.6539, allocations: 1.419 MB / 1.136 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002804/0.6567, allocations: 1.248 MB / 1.137 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008406/0.6576, allocations: 0.8169 MB / 1.138 GB, free: 324 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002011/0.6578, allocations: 163.9 kB / 1.138 GB, free: 160 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001823/0.6596, allocations: 1.419 MB / 1.139 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003361/0.66, allocations: 454.6 kB / 1.14 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006724/0.6606, allocations: 0.7735 MB / 1.14 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002439/0.6631, allocations: 2.559 MB / 1.143 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.664e-06/0.6631, allocations: 0 / 1.143 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.022e-06/0.6631, allocations: 0 / 1.143 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.468e-05/0.6631, allocations: 0 / 1.143 GB, free: 10.95 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.002818/0.666, allocations: 1.877 MB / 1.145 GB, free: 9.012 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.666, allocations: 15.97 kB / 1.145 GB, free: 8.996 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001736/0.6662, allocations: 177.4 kB / 1.145 GB, free: 8.812 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001919/0.6681, allocations: 345.9 kB / 1.145 GB, free: 8.473 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.6693, allocations: 0.9563 MB / 1.146 GB, free: 7.469 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.692e-05/0.6693, allocations: 90.33 kB / 1.146 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.6695, allocations: 112 kB / 1.146 GB, free: 7.27 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001901/0.6714, allocations: 1.298 MB / 1.148 GB, free: 5.906 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.6714, allocations: 4 kB / 1.148 GB, free: 5.902 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.6715, allocations: 52 kB / 1.148 GB, free: 5.852 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.6716, allocations: 28 kB / 1.148 GB, free: 5.824 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002048/0.6736, allocations: 1.445 MB / 1.149 GB, free: 4.371 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.004886/0.6785, allocations: 3.852 MB / 1.153 GB, free: 372 kB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001949/0.6805, allocations: 1.219 MB / 1.154 GB, free: 15.12 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000674/0.6811, allocations: 451.6 kB / 1.155 GB, free: 14.68 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006337/0.6818, allocations: 425.5 kB / 1.155 GB, free: 14.19 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009893/0.6828, allocations: 0.6606 MB / 1.156 GB, free: 13.51 MB / 0.92 GB Notification: Performance of pre-optimization done (n=106): time 2.435e-06/0.6828, allocations: 0 / 1.156 GB, free: 13.51 MB / 0.92 GB Notification: Performance of matching and sorting (n=106): time 0.003513/0.6863, allocations: 1.606 MB / 1.157 GB, free: 11.88 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.6864, allocations: 188.9 kB / 1.157 GB, free: 11.65 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009097/0.6873, allocations: 0.8866 MB / 1.158 GB, free: 10.74 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.895e-05/0.6874, allocations: 49.7 kB / 1.158 GB, free: 10.68 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003127/0.6877, allocations: 0.516 MB / 1.159 GB, free: 10.16 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002281/0.688, allocations: 350.9 kB / 1.159 GB, free: 9.812 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002643/0.6882, allocations: 190.5 kB / 1.159 GB, free: 9.621 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.753e-05/0.6883, allocations: 349.9 kB / 1.16 GB, free: 9.273 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006357/0.689, allocations: 357.8 kB / 1.16 GB, free: 8.922 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007415/0.6897, allocations: 0.5049 MB / 1.16 GB, free: 8.383 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.6911, allocations: 0.8446 MB / 1.161 GB, free: 7.523 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.6911, allocations: 4 kB / 1.161 GB, free: 7.52 MB / 0.92 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003557/0.6947, allocations: 1.118 MB / 1.162 GB, free: 6.387 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.6947, allocations: 4 kB / 1.162 GB, free: 6.383 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.6947, allocations: 7.875 kB / 1.162 GB, free: 6.375 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005721/0.6953, allocations: 92.8 kB / 1.163 GB, free: 6.281 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008714/0.6962, allocations: 219.7 kB / 1.163 GB, free: 6.066 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/0.6979, allocations: 1.65 MB / 1.164 GB, free: 4.27 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008037/0.6988, allocations: 134.9 kB / 1.164 GB, free: 4.137 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.403e-05/0.6989, allocations: 39.97 kB / 1.164 GB, free: 4.098 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.0004159/0.6993, allocations: 325.5 kB / 1.165 GB, free: 3.77 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/0.6995, allocations: 122.6 kB / 1.165 GB, free: 3.648 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002775/0.7023, allocations: 1.497 MB / 1.166 GB, free: 2.129 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.7023, allocations: 12 kB / 1.166 GB, free: 2.117 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.7023, allocations: 0 / 1.166 GB, free: 2.117 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.7023, allocations: 11.91 kB / 1.166 GB, free: 2.105 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.003979/0.7063, allocations: 2.842 MB / 1.169 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.7063, allocations: 4.188 kB / 1.169 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008156/0.7071, allocations: 199.7 kB / 1.169 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004123/0.7076, allocations: 72.8 kB / 1.169 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-05/0.7076, allocations: 35.97 kB / 1.169 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001582/0.7092, allocations: 1.685 MB / 1.171 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.7092, allocations: 0 / 1.171 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002959/0.7122, allocations: 1.86 MB / 1.173 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000385/0.7126, allocations: 343.2 kB / 1.173 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/0.7128, allocations: 32 kB / 1.173 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008476/0.7136, allocations: 79.91 kB / 1.173 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.7138, allocations: 88.77 kB / 1.173 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.434e-05/0.7139, allocations: 55.95 kB / 1.174 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000671/0.7145, allocations: 0.6261 MB / 1.174 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.673e-06/0.7146, allocations: 0 / 1.174 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008737/0.7154, allocations: 458.9 kB / 1.175 GB, free: 9.426 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.004878/0.7203, allocations: 3.018 MB / 1.178 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003461/0.7238, allocations: 1.335 MB / 1.179 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.7238, allocations: 8 kB / 1.179 GB, free: 5.195 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.7248, allocations: 0.6567 MB / 1.179 GB, free: 4.527 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001817/0.7267, allocations: 0.5172 MB / 1.18 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01423/0.7409, allocations: 9.916 MB / 1.19 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005975/0.7415, allocations: 1.154 MB / 1.191 GB, free: 8.578 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001111/0.7426, allocations: 369.7 kB / 1.191 GB, free: 8.215 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006272/0.7432, allocations: 0.5305 MB / 1.192 GB, free: 7.684 MB / 0.9512 GB Notification: Performance of SimCode: time 2.31e-07/0.7433, allocations: 0 / 1.192 GB, free: 7.684 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.098/3.841, allocations: 32.19 MB / 1.223 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003625/3.841, allocations: 268.5 kB / 1.223 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.649/6.49, allocations: 4 kB / 1.223 GB, free: 7.551 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)