Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.MassFlowSource_WeatherData,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_10_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.001371/0.001371, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001321/0.001321, allocations: 194.5 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.466/2.466, allocations: 437 MB / 0.7101 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 59.91 kB / 0.8689 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4788/0.4801, allocations: 151.6 MB / 1.017 GB, free: 2.68 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1568/0.6369, allocations: 174.4 MB / 1.187 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01411/0.6511, allocations: 12.66 MB / 1.2 GB, free: 6.902 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007902/0.6519, allocations: 31.81 kB / 1.2 GB, free: 6.871 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.6529, allocations: 401.5 kB / 1.2 GB, free: 6.477 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00211/0.6551, allocations: 0.9295 MB / 1.201 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003514/0.6586, allocations: 1.701 MB / 1.203 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002063/0.6607, allocations: 2.528 MB / 1.205 GB, free: 1.312 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001653/0.6623, allocations: 1.59 MB / 1.207 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003702/0.666, allocations: 1.418 MB / 1.208 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008415/0.6669, allocations: 0.9129 MB / 1.209 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001981/0.6671, allocations: 172 kB / 1.209 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001935/0.669, allocations: 1.435 MB / 1.21 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003682/0.6694, allocations: 0.4907 MB / 1.211 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006636/0.6701, allocations: 0.8747 MB / 1.212 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002555/0.6727, allocations: 2.808 MB / 1.215 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.6727, allocations: 0 / 1.215 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6727, allocations: 0 / 1.215 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.642e-05/0.6727, allocations: 0 / 1.215 GB, free: 7.566 MB / 0.9669 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.003123/0.6758, allocations: 2.028 MB / 1.217 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.6759, allocations: 12.02 kB / 1.217 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002232/0.6761, allocations: 198.7 kB / 1.217 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002733/0.6788, allocations: 409.5 kB / 1.217 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/0.6802, allocations: 0.9956 MB / 1.218 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.584e-05/0.6803, allocations: 98.66 kB / 1.218 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/0.6804, allocations: 132 kB / 1.218 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002469/0.6829, allocations: 1.528 MB / 1.22 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.9e-05/0.6829, allocations: 3.938 kB / 1.22 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/0.6831, allocations: 56 kB / 1.22 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.601e-05/0.6831, allocations: 36 kB / 1.22 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002564/0.6857, allocations: 1.583 MB / 1.221 GB, free: 312 kB / 0.9669 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.006416/0.6921, allocations: 5.322 MB / 1.227 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002508/0.6946, allocations: 1.527 MB / 1.228 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008266/0.6955, allocations: 479.6 kB / 1.229 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007509/0.6962, allocations: 429.3 kB / 1.229 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001188/0.6974, allocations: 0.6918 MB / 1.23 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=107): time 2.495e-06/0.6974, allocations: 0 / 1.23 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of matching and sorting (n=107): time 0.004216/0.7017, allocations: 1.668 MB / 1.231 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.534e-05/0.7018, allocations: 192.9 kB / 1.231 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.7028, allocations: 0.8921 MB / 1.232 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.055e-05/0.7029, allocations: 53.64 kB / 1.232 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000398/0.7033, allocations: 0.5935 MB / 1.233 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002556/0.7036, allocations: 358.9 kB / 1.233 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003062/0.7039, allocations: 194.5 kB / 1.234 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.704, allocations: 345.9 kB / 1.234 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007565/0.7048, allocations: 381.7 kB / 1.234 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009018/0.7057, allocations: 0.5593 MB / 1.235 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/0.7074, allocations: 0.9371 MB / 1.236 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.7074, allocations: 0 / 1.236 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002566/0.7099, allocations: 1.184 MB / 1.237 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.71, allocations: 8 kB / 1.237 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.71, allocations: 4 kB / 1.237 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006323/0.7106, allocations: 88.98 kB / 1.237 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.7117, allocations: 247.6 kB / 1.237 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/0.7137, allocations: 1.654 MB / 1.239 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009947/0.7147, allocations: 157 kB / 1.239 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.517e-05/0.7148, allocations: 43.97 kB / 1.239 GB, free: 13.48 MB / 0.9981 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 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004687/0.7153, allocations: 348.7 kB / 1.239 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000217/0.7155, allocations: 122.5 kB / 1.239 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003174/0.7187, allocations: 1.441 MB / 1.241 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.7187, allocations: 16 kB / 1.241 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.7187, allocations: 0 / 1.241 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.7187, allocations: 7.969 kB / 1.241 GB, free: 11.54 MB / 0.9981 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.004451/0.7232, allocations: 2.877 MB / 1.244 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.7232, allocations: 0 / 1.244 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.7242, allocations: 219.7 kB / 1.244 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000468/0.7247, allocations: 80.72 kB / 1.244 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.72e-05/0.7248, allocations: 31.97 kB / 1.244 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001803/0.7266, allocations: 1.663 MB / 1.246 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7266, allocations: 0 / 1.246 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002578/0.7292, allocations: 1.324 MB / 1.247 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004484/0.7297, allocations: 359.3 kB / 1.247 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/0.7299, allocations: 31.92 kB / 1.247 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.7309, allocations: 105.9 kB / 1.247 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.7311, allocations: 92.88 kB / 1.247 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.7312, allocations: 51.95 kB / 1.248 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000738/0.732, allocations: 0.615 MB / 1.248 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.732, allocations: 0 / 1.248 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001074/0.733, allocations: 0.491 MB / 1.249 GB, free: 3.328 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004247/0.7373, allocations: 2.472 MB / 1.251 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.37/1.107, allocations: 1.438 MB / 1.252 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/1.107, allocations: 1.562 kB / 1.252 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001315/1.109, allocations: 0.6769 MB / 1.253 GB, free: 232.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002342/1.111, allocations: 0.5242 MB / 1.254 GB, free: 232.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01602/1.127, allocations: 9.985 MB / 1.263 GB, free: 226.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008931/1.128, allocations: 1.209 MB / 1.265 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001657/1.13, allocations: 394.6 kB / 1.265 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007752/1.13, allocations: 0.5682 MB / 1.265 GB, free: 225.6 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/1.13, allocations: 0.5938 kB / 1.265 GB, free: 225.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.2/3.33, allocations: 33.44 MB / 1.298 GB, free: 205.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/3.33, allocations: 290.2 kB / 1.298 GB, free: 204.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.316/6.646, allocations: 4 kB / 1.298 GB, free: 204.8 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)