Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.806/1.806, allocations: 288.2 MB / 303.2 MB, free: 8.152 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001076/0.001077, allocations: 178.3 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008916/0.0008917, allocations: 105.1 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003669/0.0003669, allocations: 10.97 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.232, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.6676/0.8997, allocations: 146.9 MB / 1.123 GB, free: 1.129 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01275/0.9125, allocations: 8.987 MB / 1.132 GB, free: 388 kB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001787/0.9143, allocations: 27.81 kB / 1.132 GB, free: 376 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.9155, allocations: 276.2 kB / 1.132 GB, free: 304 kB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003207/0.9187, allocations: 0.8188 MB / 1.133 GB, free: 228 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00353/0.9222, allocations: 1.114 MB / 1.134 GB, free: 180 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002231/0.9245, allocations: 1.288 MB / 1.135 GB, free: 120 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001545/0.926, allocations: 1.007 MB / 1.136 GB, free: 15.97 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002392/0.9284, allocations: 1.001 MB / 1.137 GB, free: 15.77 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000752/0.9292, allocations: 492 kB / 1.138 GB, free: 15.57 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.653e-05/0.9293, allocations: 45.59 kB / 1.138 GB, free: 15.57 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001769/0.9311, allocations: 0.6732 MB / 1.138 GB, free: 15.44 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002708/0.9313, allocations: 288.7 kB / 1.139 GB, free: 15.33 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002799/0.9316, allocations: 254.8 kB / 1.139 GB, free: 15.26 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001788/0.9334, allocations: 1.551 MB / 1.14 GB, free: 14.45 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.9334, allocations: 0 / 1.14 GB, free: 14.45 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9335, allocations: 0 / 1.14 GB, free: 14.45 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.632e-05/0.9335, allocations: 3.281 kB / 1.14 GB, free: 14.45 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.002705/0.9362, allocations: 1.461 MB / 1.142 GB, free: 13.43 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.9362, allocations: 9.719 kB / 1.142 GB, free: 13.43 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002122/0.9365, allocations: 171.3 kB / 1.142 GB, free: 13.36 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002059/0.9385, allocations: 355.8 kB / 1.142 GB, free: 13.21 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/0.9401, allocations: 0.8705 MB / 1.143 GB, free: 12.71 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.127e-05/0.9402, allocations: 82.27 kB / 1.143 GB, free: 12.71 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.9404, allocations: 115.2 kB / 1.143 GB, free: 12.71 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002023/0.9424, allocations: 1.213 MB / 1.144 GB, free: 12.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.9424, allocations: 0 / 1.144 GB, free: 12.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.9425, allocations: 49.41 kB / 1.145 GB, free: 12.29 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.884e-05/0.9426, allocations: 26.62 kB / 1.145 GB, free: 12.29 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00231/0.9449, allocations: 1.39 MB / 1.146 GB, free: 11.95 MB / 0.698 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.005952/0.9509, allocations: 3.692 MB / 1.149 GB, free: 9.918 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002261/0.9531, allocations: 1.158 MB / 1.151 GB, free: 9.637 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005597/0.9537, allocations: 256.1 kB / 1.151 GB, free: 9.422 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001009/0.9547, allocations: 0.5832 MB / 1.151 GB, free: 9.211 MB / 0.698 GB Notification: Performance of pre-optimization done (n=97): time 4.779e-06/0.9548, allocations: 0 / 1.151 GB, free: 9.211 MB / 0.698 GB Notification: Performance of matching and sorting (n=97): time 0.003829/0.9586, allocations: 1.495 MB / 1.153 GB, free: 8.781 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.615e-05/0.9587, allocations: 195.8 kB / 1.153 GB, free: 8.559 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.9599, allocations: 0.8053 MB / 1.154 GB, free: 8.309 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.386e-05/0.96, allocations: 45.77 kB / 1.154 GB, free: 8.277 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003934/0.9604, allocations: 0.5012 MB / 1.154 GB, free: 8.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002852/0.9607, allocations: 326 kB / 1.155 GB, free: 7.785 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.603e-05/0.9607, allocations: 16.28 kB / 1.155 GB, free: 7.785 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.9608, allocations: 341.1 kB / 1.155 GB, free: 7.469 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006477/0.9615, allocations: 326.6 kB / 1.155 GB, free: 7.371 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007847/0.9623, allocations: 473.3 kB / 1.156 GB, free: 7.07 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007779/0.9631, allocations: 393.6 kB / 1.156 GB, free: 6.875 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.9631, allocations: 1.281 kB / 1.156 GB, free: 6.875 MB / 0.698 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002411/0.9655, allocations: 1.042 MB / 1.157 GB, free: 6.344 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.9656, allocations: 5.594 kB / 1.157 GB, free: 6.344 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.9656, allocations: 3.172 kB / 1.157 GB, free: 6.344 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005787/0.9661, allocations: 83.41 kB / 1.157 GB, free: 6.305 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008925/0.9671, allocations: 209.8 kB / 1.158 GB, free: 6.254 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.9691, allocations: 1.552 MB / 1.159 GB, free: 4.742 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009489/0.9701, allocations: 123.7 kB / 1.159 GB, free: 4.664 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-05/0.9702, allocations: 41.88 kB / 1.159 GB, free: 4.648 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006468/0.9708, allocations: 298 kB / 1.159 GB, free: 4.422 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/0.971, allocations: 107.9 kB / 1.16 GB, free: 4.367 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002945/0.974, allocations: 1.414 MB / 1.161 GB, free: 3.535 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.974, allocations: 9.969 kB / 1.161 GB, free: 3.535 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.974, allocations: 4 kB / 1.161 GB, free: 3.531 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.974, allocations: 3.984 kB / 1.161 GB, free: 3.527 MB / 0.698 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.004406/0.9784, allocations: 2.681 MB / 1.164 GB, free: 1.691 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.9785, allocations: 2.844 kB / 1.164 GB, free: 1.691 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008462/0.9793, allocations: 198 kB / 1.164 GB, free: 1.645 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004927/0.9798, allocations: 90.67 kB / 1.164 GB, free: 1.602 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.132e-05/0.9799, allocations: 29.89 kB / 1.164 GB, free: 1.582 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001715/0.9816, allocations: 1.583 MB / 1.165 GB, free: 52 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.9816, allocations: 2.812 kB / 1.165 GB, free: 52 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00306/0.9847, allocations: 1.83 MB / 1.167 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006959/0.9854, allocations: 334.3 kB / 1.168 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/0.9856, allocations: 27.44 kB / 1.168 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008253/0.9864, allocations: 98.31 kB / 1.168 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.9866, allocations: 77.05 kB / 1.168 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.539e-05/0.9867, allocations: 44.25 kB / 1.168 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008108/0.9875, allocations: 0.5836 MB / 1.168 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9875, allocations: 0 / 1.168 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001144/0.9886, allocations: 400.5 kB / 1.169 GB, free: 14.04 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004889/0.9935, allocations: 3.464 MB / 1.172 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002001/0.9955, allocations: 0.984 MB / 1.173 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.9956, allocations: 0 / 1.173 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.9966, allocations: 0.6178 MB / 1.174 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002195/0.9988, allocations: 462.9 kB / 1.174 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01371/1.013, allocations: 7.605 MB / 1.182 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007921/1.013, allocations: 1.16 MB / 1.183 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001523/1.015, allocations: 366.1 kB / 1.183 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007444/1.016, allocations: 489.6 kB / 1.183 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of SimCode: time 1.252e-06/1.016, allocations: 0 / 1.183 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0698/1.085, allocations: 30.35 MB / 1.213 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003517/1.086, allocations: 250.1 kB / 1.213 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.054/4.14, allocations: 4 kB / 1.213 GB, free: 7.172 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1)