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.0008854/0.0008854, allocations: 86.09 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.001094/0.001094, 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.47/1.47, allocations: 223.2 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.564/2.564, allocations: 409.4 MB / 0.684 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003244/0.0003245, allocations: 15.94 kB / 0.8378 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.687/0.6874, allocations: 146.8 MB / 0.9811 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1829/0.8703, allocations: 159.9 MB / 1.137 GB, free: 5.875 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01486/0.8852, allocations: 11.81 MB / 1.149 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001865/0.8871, allocations: 27.81 kB / 1.149 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001705/0.8888, allocations: 317.7 kB / 1.149 GB, free: 9.695 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003458/0.8923, allocations: 0.8152 MB / 1.15 GB, free: 8.879 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004298/0.8966, allocations: 1.364 MB / 1.151 GB, free: 7.523 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003157/0.8998, allocations: 2.415 MB / 1.154 GB, free: 5.098 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002005/0.9018, allocations: 1.188 MB / 1.155 GB, free: 3.887 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002249/0.9041, allocations: 1.039 MB / 1.156 GB, free: 2.844 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001063/0.9051, allocations: 0.6804 MB / 1.157 GB, free: 2.16 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002038/0.9054, allocations: 47.98 kB / 1.157 GB, free: 2.113 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002117/0.9075, allocations: 0.8774 MB / 1.157 GB, free: 1.234 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000378/0.9079, allocations: 338.7 kB / 1.158 GB, free: 0.9023 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003857/0.9083, allocations: 308.8 kB / 1.158 GB, free: 0.5938 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002232/0.9105, allocations: 1.925 MB / 1.16 GB, free: 14.66 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.9105, allocations: 0 / 1.16 GB, free: 14.66 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9105, allocations: 0 / 1.16 GB, free: 14.66 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.34e-05/0.9106, allocations: 0 / 1.16 GB, free: 14.66 MB / 0.92 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.003186/0.9138, allocations: 1.697 MB / 1.162 GB, free: 12.91 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.9138, allocations: 8.031 kB / 1.162 GB, free: 12.9 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003031/0.9141, allocations: 202.7 kB / 1.162 GB, free: 12.69 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002492/0.9166, allocations: 421.5 kB / 1.162 GB, free: 12.28 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/0.9182, allocations: 0.9573 MB / 1.163 GB, free: 11.28 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.215e-05/0.9183, allocations: 102.7 kB / 1.163 GB, free: 11.18 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001778/0.9184, allocations: 132 kB / 1.163 GB, free: 11.05 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002584/0.921, allocations: 1.513 MB / 1.165 GB, free: 9.457 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/0.9211, allocations: 8 kB / 1.165 GB, free: 9.449 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/0.9212, allocations: 56 kB / 1.165 GB, free: 9.395 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.877e-05/0.9213, allocations: 39.95 kB / 1.165 GB, free: 9.355 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002715/0.924, allocations: 1.579 MB / 1.166 GB, free: 7.77 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.006976/0.931, allocations: 5.088 MB / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002509/0.9335, allocations: 1.517 MB / 1.173 GB, free: 0.832 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008204/0.9343, allocations: 487.6 kB / 1.173 GB, free: 356 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007241/0.9351, allocations: 437.3 kB / 1.174 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001223/0.9363, allocations: 0.7073 MB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=107): time 2.625e-06/0.9363, allocations: 0 / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=107): time 0.004002/0.9403, allocations: 1.664 MB / 1.176 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.9405, allocations: 192.9 kB / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.9418, allocations: 0.8881 MB / 1.177 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.9419, allocations: 49.7 kB / 1.177 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005074/0.9424, allocations: 0.6013 MB / 1.178 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002993/0.9427, allocations: 351 kB / 1.178 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.019e-05/0.9428, allocations: 20 kB / 1.178 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.9429, allocations: 341.9 kB / 1.178 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007208/0.9436, allocations: 377.8 kB / 1.179 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008576/0.9445, allocations: 0.5671 MB / 1.179 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008271/0.9454, allocations: 450.8 kB / 1.18 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.9454, allocations: 4 kB / 1.18 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002447/0.9478, allocations: 1.176 MB / 1.181 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.9479, allocations: 11.98 kB / 1.181 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.9479, allocations: 4 kB / 1.181 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005312/0.9484, allocations: 89.02 kB / 1.181 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.9495, allocations: 243.7 kB / 1.181 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002015/0.9515, allocations: 1.552 MB / 1.183 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/0.9526, allocations: 159.6 kB / 1.183 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.9527, allocations: 43.97 kB / 1.183 GB, free: 6.059 MB / 0.9356 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.0007511/0.9535, allocations: 341.6 kB / 1.183 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003222/0.9538, allocations: 122.5 kB / 1.183 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003208/0.957, allocations: 1.444 MB / 1.185 GB, free: 4.133 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.9571, allocations: 12 kB / 1.185 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.9571, allocations: 0 / 1.185 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/0.9571, allocations: 15.97 kB / 1.185 GB, free: 4.105 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.004946/0.962, allocations: 2.873 MB / 1.188 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.9621, allocations: 4 kB / 1.188 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009325/0.963, allocations: 219.8 kB / 1.188 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004522/0.9635, allocations: 88.72 kB / 1.188 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.464e-05/0.9636, allocations: 35.97 kB / 1.188 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001643/0.9652, allocations: 1.555 MB / 1.19 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.9652, allocations: 4.062 kB / 1.19 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00245/0.9677, allocations: 1.32 MB / 1.191 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005773/0.9683, allocations: 379 kB / 1.191 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001881/0.9685, allocations: 28 kB / 1.191 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009416/0.9694, allocations: 120.2 kB / 1.191 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/0.9696, allocations: 80.88 kB / 1.191 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/0.9697, allocations: 51.97 kB / 1.191 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000893/0.9706, allocations: 0.615 MB / 1.192 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9706, allocations: 0 / 1.192 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001214/0.9718, allocations: 478.8 kB / 1.193 GB, free: 12.01 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.004087/0.9759, allocations: 2.475 MB / 1.195 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00203/0.978, allocations: 1.117 MB / 1.196 GB, free: 8.566 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.978, allocations: 0 / 1.196 GB, free: 8.566 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.9791, allocations: 0.6835 MB / 1.197 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001895/0.981, allocations: 485.2 kB / 1.197 GB, free: 7.406 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01307/0.9941, allocations: 7.558 MB / 1.205 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000771/0.9949, allocations: 1.207 MB / 1.206 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001434/0.9963, allocations: 389.8 kB / 1.206 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008008/0.9971, allocations: 0.5656 MB / 1.207 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of SimCode: time 6.52e-07/0.9972, allocations: 0 / 1.207 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05758/1.055, allocations: 33.28 MB / 1.239 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002077/1.055, allocations: 267.8 kB / 1.239 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.779/3.834, allocations: 0 / 1.239 GB, free: 12.22 MB / 0.9981 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