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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.001014/0.001014, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001359/0.001359, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.314/2.314, allocations: 390.4 MB / 0.6655 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005182/0.0005183, allocations: 8 kB / 0.8149 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6325/0.6331, allocations: 142.3 MB / 0.9538 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1706/0.8037, allocations: 159.9 MB / 1.11 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01364/0.8174, allocations: 10.09 MB / 1.12 GB, free: 5.66 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001501/0.8189, allocations: 27.81 kB / 1.12 GB, free: 5.633 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.8201, allocations: 285.9 kB / 1.12 GB, free: 5.352 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002914/0.823, allocations: 0.8459 MB / 1.121 GB, free: 4.504 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003686/0.8267, allocations: 1.255 MB / 1.122 GB, free: 3.258 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002935/0.8296, allocations: 2.287 MB / 1.124 GB, free: 0.9609 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001808/0.8315, allocations: 1.027 MB / 1.125 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002303/0.8338, allocations: 0.9532 MB / 1.126 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001004/0.8348, allocations: 0.6532 MB / 1.127 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001186/0.8349, allocations: 44 kB / 1.127 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00215/0.8371, allocations: 0.8852 MB / 1.128 GB, free: 13.37 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003111/0.8374, allocations: 318.8 kB / 1.128 GB, free: 13.06 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003355/0.8378, allocations: 276.9 kB / 1.128 GB, free: 12.78 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002034/0.8398, allocations: 1.769 MB / 1.13 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.8398, allocations: 0 / 1.13 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.545e-06/0.8398, allocations: 0 / 1.13 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.858e-05/0.8398, allocations: 0 / 1.13 GB, free: 11.01 MB / 0.8887 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.002742/0.8426, allocations: 1.6 MB / 1.132 GB, free: 9.352 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.8426, allocations: 12.03 kB / 1.132 GB, free: 9.34 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002044/0.8429, allocations: 181.4 kB / 1.132 GB, free: 9.152 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001963/0.8448, allocations: 365.8 kB / 1.132 GB, free: 8.793 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.8463, allocations: 0.9142 MB / 1.133 GB, free: 7.832 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.593e-05/0.8464, allocations: 86.33 kB / 1.133 GB, free: 7.746 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.8465, allocations: 119.9 kB / 1.133 GB, free: 7.629 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002219/0.8487, allocations: 1.294 MB / 1.135 GB, free: 6.27 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.8488, allocations: 0 / 1.135 GB, free: 6.27 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/0.8489, allocations: 48 kB / 1.135 GB, free: 6.223 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.652e-05/0.8489, allocations: 28 kB / 1.135 GB, free: 6.195 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002462/0.8514, allocations: 1.457 MB / 1.136 GB, free: 4.73 MB / 0.8887 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.00663/0.8581, allocations: 3.884 MB / 1.14 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002102/0.8602, allocations: 1.217 MB / 1.141 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007548/0.861, allocations: 451.6 kB / 1.142 GB, free: 15 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007147/0.8617, allocations: 437.3 kB / 1.142 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001071/0.8628, allocations: 0.6645 MB / 1.143 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=106): time 2.946e-06/0.8628, allocations: 3.938 kB / 1.143 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of matching and sorting (n=106): time 0.003705/0.8665, allocations: 1.61 MB / 1.144 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.48e-05/0.8666, allocations: 192.9 kB / 1.144 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.8678, allocations: 0.8672 MB / 1.145 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.8679, allocations: 49.7 kB / 1.145 GB, free: 11 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004299/0.8684, allocations: 0.5198 MB / 1.146 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002928/0.8687, allocations: 354.9 kB / 1.146 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.623e-05/0.8687, allocations: 16 kB / 1.146 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.8689, allocations: 353.9 kB / 1.146 GB, free: 9.758 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006889/0.8695, allocations: 361.8 kB / 1.147 GB, free: 9.402 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007962/0.8704, allocations: 0.497 MB / 1.147 GB, free: 8.871 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007567/0.8711, allocations: 422.9 kB / 1.148 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.8711, allocations: 0 / 1.148 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002268/0.8734, allocations: 1.126 MB / 1.149 GB, free: 7.32 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.8734, allocations: 4.938 kB / 1.149 GB, free: 7.316 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.8735, allocations: 4 kB / 1.149 GB, free: 7.312 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005259/0.874, allocations: 80.88 kB / 1.149 GB, free: 7.23 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009359/0.8749, allocations: 231.6 kB / 1.149 GB, free: 7.004 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/0.8768, allocations: 1.528 MB / 1.151 GB, free: 5.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009152/0.8777, allocations: 144.7 kB / 1.151 GB, free: 5.199 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-05/0.8778, allocations: 39.97 kB / 1.151 GB, free: 5.16 MB / 0.9044 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * 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 (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.000595/0.8784, allocations: 317.6 kB / 1.151 GB, free: 4.84 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001737/0.8786, allocations: 122.5 kB / 1.151 GB, free: 4.719 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002923/0.8815, allocations: 1.521 MB / 1.153 GB, free: 3.176 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/0.8816, allocations: 12 kB / 1.153 GB, free: 3.164 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.8816, allocations: 0 / 1.153 GB, free: 3.164 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.8816, allocations: 7.969 kB / 1.153 GB, free: 3.156 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 postOpt removeSimpleEquations (simulation): time 0.00444/0.886, allocations: 2.846 MB / 1.156 GB, free: 208 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.8861, allocations: 4 kB / 1.156 GB, free: 204 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008441/0.8869, allocations: 195.7 kB / 1.156 GB, free: 8 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000477/0.8874, allocations: 96.84 kB / 1.156 GB, free: 15.91 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.128e-05/0.8875, allocations: 31.97 kB / 1.156 GB, free: 15.88 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00174/0.8892, allocations: 1.563 MB / 1.157 GB, free: 14.18 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.8893, allocations: 4 kB / 1.157 GB, free: 14.17 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00332/0.8926, allocations: 1.864 MB / 1.159 GB, free: 12.27 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006184/0.8932, allocations: 359.3 kB / 1.16 GB, free: 11.9 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000166/0.8934, allocations: 28 kB / 1.16 GB, free: 11.87 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008834/0.8943, allocations: 113.6 kB / 1.16 GB, free: 11.76 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/0.8945, allocations: 88.83 kB / 1.16 GB, free: 11.68 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.109e-05/0.8946, allocations: 47.97 kB / 1.16 GB, free: 11.63 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008725/0.8954, allocations: 0.6183 MB / 1.16 GB, free: 11 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8955, allocations: 4 kB / 1.16 GB, free: 11 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001211/0.8967, allocations: 439.1 kB / 1.161 GB, free: 10.57 MB / 0.92 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 (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.00505/0.9017, allocations: 3.02 MB / 1.164 GB, free: 7.684 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002147/0.9039, allocations: 1.061 MB / 1.165 GB, free: 6.609 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.9039, allocations: 0 / 1.165 GB, free: 6.609 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001314/0.9052, allocations: 0.6607 MB / 1.165 GB, free: 5.938 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002622/0.9079, allocations: 485 kB / 1.166 GB, free: 5.473 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01539/0.9233, allocations: 7.437 MB / 1.173 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008888/0.9242, allocations: 1.166 MB / 1.174 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001499/0.9257, allocations: 369.7 kB / 1.175 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008273/0.9266, allocations: 0.5109 MB / 1.175 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of SimCode: time 1.072e-06/0.9266, allocations: 0 / 1.175 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06267/0.9893, allocations: 32.43 MB / 1.207 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000201/0.9895, allocations: 250.3 kB / 1.207 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.701/3.691, allocations: 0 / 1.207 GB, free: 11.36 MB / 0.9669 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/linux/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)