Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.MassFlowSource_WeatherData,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",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.001361/0.001361, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001671/0.001671, allocations: 177.3 kB / 15.94 MB, free: 228 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.311/1.311, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.322/2.322, allocations: 409.2 MB / 0.6838 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003406/0.0003407, allocations: 19.98 kB / 0.8375 GB, free: 6.613 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5413/0.5417, allocations: 146.8 MB / 0.9809 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1579/0.6997, allocations: 147.2 MB / 1.125 GB, free: 2.836 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01438/0.7141, allocations: 10.75 MB / 1.135 GB, free: 8.062 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009525/0.7151, allocations: 23.88 kB / 1.135 GB, free: 8.039 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0008497/0.7159, allocations: 282.3 kB / 1.135 GB, free: 7.762 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002022/0.718, allocations: 0.8246 MB / 1.136 GB, free: 6.938 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002963/0.721, allocations: 1.227 MB / 1.137 GB, free: 5.719 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001758/0.7227, allocations: 1.435 MB / 1.139 GB, free: 4.277 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00141/0.7241, allocations: 1.188 MB / 1.14 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001985/0.7261, allocations: 1.125 MB / 1.141 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006498/0.7268, allocations: 0.5598 MB / 1.142 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.7269, allocations: 44 kB / 1.142 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001633/0.7286, allocations: 0.7295 MB / 1.142 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003049/0.7289, allocations: 330.8 kB / 1.143 GB, free: 284 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002645/0.7291, allocations: 297 kB / 1.143 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0019/0.7311, allocations: 1.855 MB / 1.145 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.7311, allocations: 0 / 1.145 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7311, allocations: 0 / 1.145 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.688e-05/0.7311, allocations: 0 / 1.145 GB, free: 14.12 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: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.002897/0.734, allocations: 1.678 MB / 1.146 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.7341, allocations: 12.03 kB / 1.146 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002374/0.7343, allocations: 202.7 kB / 1.147 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002487/0.7368, allocations: 425.5 kB / 1.147 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/0.7383, allocations: 0.9535 MB / 1.148 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.93e-05/0.7384, allocations: 102.7 kB / 1.148 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/0.7386, allocations: 136 kB / 1.148 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00235/0.7409, allocations: 1.497 MB / 1.15 GB, free: 8.941 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.7409, allocations: 0 / 1.15 GB, free: 8.941 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001389/0.7411, allocations: 68 kB / 1.15 GB, free: 8.875 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.757e-05/0.7411, allocations: 35.95 kB / 1.15 GB, free: 8.84 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002599/0.7437, allocations: 1.579 MB / 1.151 GB, free: 7.254 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.006743/0.7505, allocations: 5.083 MB / 1.156 GB, free: 1.91 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002519/0.753, allocations: 1.398 MB / 1.158 GB, free: 484 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00054/0.7536, allocations: 267.1 kB / 1.158 GB, free: 180 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001174/0.7548, allocations: 0.6918 MB / 1.159 GB, free: 15.46 MB / 0.92 GB Notification: Performance of pre-optimization done (n=107): time 2.435e-06/0.7548, allocations: 0 / 1.159 GB, free: 15.46 MB / 0.92 GB Notification: Performance of matching and sorting (n=107): time 0.004101/0.7589, allocations: 1.658 MB / 1.16 GB, free: 13.77 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.759, allocations: 200.9 kB / 1.16 GB, free: 13.54 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.7601, allocations: 0.892 MB / 1.161 GB, free: 12.62 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.866e-05/0.7602, allocations: 41.7 kB / 1.161 GB, free: 12.57 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005101/0.7607, allocations: 0.5974 MB / 1.162 GB, free: 11.97 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002945/0.761, allocations: 354.9 kB / 1.162 GB, free: 11.62 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.482e-05/0.7611, allocations: 20 kB / 1.162 GB, free: 11.6 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.7613, allocations: 345.9 kB / 1.162 GB, free: 11.26 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007372/0.762, allocations: 373.8 kB / 1.163 GB, free: 10.89 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009085/0.7629, allocations: 0.5554 MB / 1.163 GB, free: 10.27 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008366/0.7638, allocations: 446.8 kB / 1.164 GB, free: 9.84 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.7638, allocations: 4 kB / 1.164 GB, free: 9.836 MB / 0.92 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00236/0.7662, allocations: 1.176 MB / 1.165 GB, free: 8.648 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.7662, allocations: 5.562 kB / 1.165 GB, free: 8.645 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.7662, allocations: 4 kB / 1.165 GB, free: 8.641 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006171/0.7668, allocations: 92.92 kB / 1.165 GB, free: 8.547 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.7679, allocations: 251.6 kB / 1.165 GB, free: 8.301 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/0.7699, allocations: 1.555 MB / 1.167 GB, free: 6.609 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009869/0.7709, allocations: 162.8 kB / 1.167 GB, free: 6.449 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.147e-05/0.771, allocations: 43.97 kB / 1.167 GB, free: 6.406 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (123): * Single equations (assignments): 122 * 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.000546/0.7715, allocations: 344.2 kB / 1.167 GB, free: 6.062 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/0.7717, allocations: 122.5 kB / 1.167 GB, free: 5.941 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003051/0.7748, allocations: 1.441 MB / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.7748, allocations: 15.98 kB / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.7748, allocations: 0 / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.7748, allocations: 11.97 kB / 1.169 GB, free: 4.457 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.004645/0.7795, allocations: 2.91 MB / 1.172 GB, free: 1.453 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.7795, allocations: 3.984 kB / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009826/0.7805, allocations: 223.6 kB / 1.172 GB, free: 1.23 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005054/0.781, allocations: 88.91 kB / 1.172 GB, free: 1.141 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.031e-05/0.7811, allocations: 31.97 kB / 1.172 GB, free: 1.109 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00182/0.7829, allocations: 1.579 MB / 1.174 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.7829, allocations: 0 / 1.174 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002496/0.7854, allocations: 1.395 MB / 1.175 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005528/0.786, allocations: 379.1 kB / 1.175 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001619/0.7861, allocations: 24 kB / 1.175 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.7872, allocations: 117.8 kB / 1.175 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.7873, allocations: 84.88 kB / 1.176 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/0.7874, allocations: 59.95 kB / 1.176 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007627/0.7882, allocations: 0.6111 MB / 1.176 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7882, allocations: 0 / 1.176 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001153/0.7894, allocations: 478.8 kB / 1.177 GB, free: 12.18 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * 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 (118): * Single equations (assignments): 112 * 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.004306/0.7937, allocations: 2.818 MB / 1.179 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002131/0.7958, allocations: 1.113 MB / 1.181 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.7959, allocations: 7.938 kB / 1.181 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.797, allocations: 0.68 MB / 1.181 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001957/0.799, allocations: 460.8 kB / 1.182 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01402/0.813, allocations: 9.498 MB / 1.191 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008221/0.8139, allocations: 1.246 MB / 1.192 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001411/0.8153, allocations: 381.8 kB / 1.192 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007437/0.8161, allocations: 0.5656 MB / 1.193 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of SimCode: time 4.91e-07/0.8161, allocations: 0 / 1.193 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.658/3.474, allocations: 33.14 MB / 1.225 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003456/3.474, allocations: 265.2 kB / 1.226 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.468/7.942, allocations: 0 / 1.226 GB, free: 10.18 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat does not exist to compare? outputFormat=mat