Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_latest_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.001026/0.001026, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001154/0.001154, allocations: 172.7 kB / 15.95 MB, free: 208 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.48/1.48, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.557/2.557, allocations: 409.4 MB / 0.684 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00056/0.0005602, allocations: 8 kB / 0.8378 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7152/0.7158, allocations: 146.8 MB / 0.9811 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1572/0.873, allocations: 159.9 MB / 1.137 GB, free: 5.887 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01212/0.8852, allocations: 10.09 MB / 1.147 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.8862, allocations: 31.81 kB / 1.147 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.000839/0.8871, allocations: 277.9 kB / 1.147 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002279/0.8894, allocations: 0.866 MB / 1.148 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003073/0.8925, allocations: 1.249 MB / 1.15 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002289/0.8948, allocations: 2.283 MB / 1.152 GB, free: 7.062 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001332/0.8961, allocations: 1.034 MB / 1.153 GB, free: 6.012 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001745/0.8979, allocations: 0.9454 MB / 1.154 GB, free: 5.062 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007862/0.8987, allocations: 0.6511 MB / 1.154 GB, free: 4.41 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.8988, allocations: 47.94 kB / 1.154 GB, free: 4.363 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001882/0.9007, allocations: 0.8813 MB / 1.155 GB, free: 3.48 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002996/0.901, allocations: 314.8 kB / 1.156 GB, free: 3.172 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002697/0.9013, allocations: 284.9 kB / 1.156 GB, free: 2.887 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001781/0.9031, allocations: 1.761 MB / 1.158 GB, free: 1.121 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.9031, allocations: 4 kB / 1.158 GB, free: 1.117 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9031, allocations: 0 / 1.158 GB, free: 1.117 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.634e-05/0.9031, allocations: 0 / 1.158 GB, free: 1.117 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.002597/0.9057, allocations: 1.604 MB / 1.159 GB, free: 15.46 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.9058, allocations: 8.031 kB / 1.159 GB, free: 15.45 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001994/0.906, allocations: 177.4 kB / 1.159 GB, free: 15.27 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001956/0.9079, allocations: 365.7 kB / 1.16 GB, free: 14.91 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.9092, allocations: 0.9181 MB / 1.161 GB, free: 13.94 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.184e-05/0.9093, allocations: 90.33 kB / 1.161 GB, free: 13.85 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.9095, allocations: 119.9 kB / 1.161 GB, free: 13.73 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00206/0.9116, allocations: 1.294 MB / 1.162 GB, free: 12.38 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.9116, allocations: 0 / 1.162 GB, free: 12.38 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.9117, allocations: 52 kB / 1.162 GB, free: 12.32 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.561e-05/0.9117, allocations: 32 kB / 1.162 GB, free: 12.29 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002229/0.914, allocations: 1.449 MB / 1.163 GB, free: 10.84 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 preOpt removeSimpleEquations (simulation): time 0.005451/0.9194, allocations: 3.882 MB / 1.167 GB, free: 6.801 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002015/0.9215, allocations: 1.211 MB / 1.168 GB, free: 5.566 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007191/0.9222, allocations: 452.4 kB / 1.169 GB, free: 5.125 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006674/0.9229, allocations: 441.3 kB / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001093/0.924, allocations: 0.6566 MB / 1.17 GB, free: 3.941 MB / 0.92 GB Notification: Performance of pre-optimization done (n=106): time 2.946e-06/0.924, allocations: 4 kB / 1.17 GB, free: 3.938 MB / 0.92 GB Notification: Performance of matching and sorting (n=106): time 0.003729/0.9277, allocations: 1.614 MB / 1.172 GB, free: 2.301 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.077e-05/0.9278, allocations: 196.9 kB / 1.172 GB, free: 2.062 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.929, allocations: 0.875 MB / 1.173 GB, free: 1.164 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.145e-05/0.9291, allocations: 45.7 kB / 1.173 GB, free: 1.113 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004321/0.9296, allocations: 0.5237 MB / 1.173 GB, free: 0.582 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002799/0.9298, allocations: 354.9 kB / 1.173 GB, free: 236 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.708e-05/0.9299, allocations: 20 kB / 1.173 GB, free: 216 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.93, allocations: 341.9 kB / 1.174 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006939/0.9307, allocations: 365.8 kB / 1.174 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000803/0.9315, allocations: 0.501 MB / 1.175 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007839/0.9323, allocations: 418.9 kB / 1.175 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.9324, allocations: 4 kB / 1.175 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002308/0.9347, allocations: 1.118 MB / 1.176 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.9347, allocations: 7.938 kB / 1.176 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.9347, allocations: 0 / 1.176 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005288/0.9353, allocations: 84.88 kB / 1.176 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009345/0.9362, allocations: 227.7 kB / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001842/0.9381, allocations: 1.53 MB / 1.178 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008942/0.939, allocations: 139 kB / 1.178 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.629e-05/0.9391, allocations: 39.97 kB / 1.178 GB, free: 11.28 MB / 0.9356 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.0005287/0.9396, allocations: 325.8 kB / 1.178 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002046/0.9398, allocations: 122.5 kB / 1.179 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003002/0.9428, allocations: 1.521 MB / 1.18 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.9428, allocations: 8 kB / 1.18 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.9429, allocations: 4 kB / 1.18 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/0.9429, allocations: 7.969 kB / 1.18 GB, free: 9.266 MB / 0.9356 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.004542/0.9474, allocations: 2.842 MB / 1.183 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.9474, allocations: 0 / 1.183 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008785/0.9483, allocations: 207.9 kB / 1.183 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004652/0.9488, allocations: 92.66 kB / 1.183 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.147e-05/0.9489, allocations: 35.97 kB / 1.183 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001652/0.9506, allocations: 1.567 MB / 1.185 GB, free: 4.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.9506, allocations: 4 kB / 1.185 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003211/0.9538, allocations: 1.864 MB / 1.186 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005159/0.9543, allocations: 359.3 kB / 1.187 GB, free: 1.996 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/0.9545, allocations: 24 kB / 1.187 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009066/0.9554, allocations: 107.8 kB / 1.187 GB, free: 1.867 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/0.9556, allocations: 92.77 kB / 1.187 GB, free: 1.773 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.324e-05/0.9557, allocations: 47.97 kB / 1.187 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000832/0.9565, allocations: 0.6183 MB / 1.188 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9566, allocations: 4 kB / 1.188 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001147/0.9577, allocations: 443 kB / 1.188 GB, free: 0.6602 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 (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.004886/0.9626, allocations: 3.012 MB / 1.191 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002039/0.9647, allocations: 1.069 MB / 1.192 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.9647, allocations: 0 / 1.192 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.9658, allocations: 0.6529 MB / 1.193 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002116/0.9679, allocations: 488.7 kB / 1.193 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01371/0.9817, allocations: 7.432 MB / 1.2 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008144/0.9825, allocations: 1.154 MB / 1.202 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001392/0.9839, allocations: 369.7 kB / 1.202 GB, free: 2.312 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007669/0.9847, allocations: 0.5187 MB / 1.202 GB, free: 1.793 MB / 0.9512 GB Notification: Performance of SimCode: time 6.31e-07/0.9847, allocations: 3.938 kB / 1.202 GB, free: 1.789 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05644/1.041, allocations: 32.43 MB / 1.234 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002345/1.041, allocations: 247.2 kB / 1.234 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.72/3.761, allocations: 4 kB / 1.234 GB, free: 1.477 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) Environment - environmentSimulation: