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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001478/0.001478, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001698/0.001698, allocations: 193 kB / 16.14 MB, free: 6.711 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.302/1.302, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.465/2.465, allocations: 437 MB / 0.71 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 67.91 kB / 0.8687 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4795/0.4808, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1588/0.6397, allocations: 174.5 MB / 1.187 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01502/0.6547, allocations: 12.84 MB / 1.2 GB, free: 6.746 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.6558, allocations: 31.81 kB / 1.2 GB, free: 6.715 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001282/0.6571, allocations: 377.5 kB / 1.2 GB, free: 6.344 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002496/0.6596, allocations: 0.917 MB / 1.201 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003814/0.6635, allocations: 1.675 MB / 1.203 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002732/0.6662, allocations: 2.871 MB / 1.205 GB, free: 0.8711 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001905/0.6681, allocations: 1.455 MB / 1.207 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004126/0.6723, allocations: 1.266 MB / 1.208 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001047/0.6733, allocations: 0.8595 MB / 1.209 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000246/0.6736, allocations: 95.98 kB / 1.209 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002643/0.6762, allocations: 1.462 MB / 1.21 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003945/0.6766, allocations: 410.6 kB / 1.211 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008282/0.6775, allocations: 0.7966 MB / 1.212 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003524/0.681, allocations: 2.738 MB / 1.214 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.681, allocations: 0 / 1.214 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.022e-06/0.681, allocations: 4 kB / 1.214 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.556e-05/0.6811, allocations: 0 / 1.214 GB, free: 7.742 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.004348/0.6855, allocations: 2.032 MB / 1.216 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.6855, allocations: 8.031 kB / 1.216 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002245/0.6858, allocations: 202.7 kB / 1.216 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002709/0.6885, allocations: 413.5 kB / 1.217 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.6899, allocations: 0.9916 MB / 1.218 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.301e-05/0.69, allocations: 106.7 kB / 1.218 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/0.6902, allocations: 132 kB / 1.218 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002494/0.6927, allocations: 1.524 MB / 1.22 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.6927, allocations: 0 / 1.22 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/0.6928, allocations: 60 kB / 1.22 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.479e-05/0.6929, allocations: 36 kB / 1.22 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002631/0.6955, allocations: 1.579 MB / 1.221 GB, free: 488 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.006543/0.7021, allocations: 5.334 MB / 1.226 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002524/0.7046, allocations: 1.521 MB / 1.228 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008292/0.7054, allocations: 483.6 kB / 1.228 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007256/0.7062, allocations: 429.3 kB / 1.229 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001206/0.7074, allocations: 0.6917 MB / 1.229 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=107): time 2.325e-06/0.7074, allocations: 0 / 1.229 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of matching and sorting (n=107): time 0.004223/0.7116, allocations: 1.668 MB / 1.231 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.443e-05/0.7117, allocations: 192.9 kB / 1.231 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.7128, allocations: 0.8921 MB / 1.232 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.668e-05/0.7129, allocations: 49.7 kB / 1.232 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004009/0.7133, allocations: 0.6052 MB / 1.233 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002469/0.7136, allocations: 350.9 kB / 1.233 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003049/0.7139, allocations: 198.5 kB / 1.233 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.714, allocations: 341.9 kB / 1.234 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007626/0.7148, allocations: 377.8 kB / 1.234 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009114/0.7157, allocations: 0.5593 MB / 1.234 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001678/0.7174, allocations: 0.9332 MB / 1.235 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.7174, allocations: 0 / 1.235 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00259/0.72, allocations: 1.184 MB / 1.237 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.72, allocations: 9.719 kB / 1.237 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.72, allocations: 4 kB / 1.237 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006166/0.7206, allocations: 85.12 kB / 1.237 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.7218, allocations: 243.7 kB / 1.237 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001931/0.7237, allocations: 1.551 MB / 1.238 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.7247, allocations: 150.9 kB / 1.239 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-05/0.7248, allocations: 47.91 kB / 1.239 GB, free: 13.77 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.0005032/0.7253, allocations: 341.6 kB / 1.239 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002262/0.7256, allocations: 122.5 kB / 1.239 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003224/0.7288, allocations: 1.441 MB / 1.24 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.7288, allocations: 12 kB / 1.24 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.7288, allocations: 0 / 1.24 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.7289, allocations: 7.969 kB / 1.24 GB, free: 11.83 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.004476/0.7333, allocations: 2.877 MB / 1.243 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.7334, allocations: 0 / 1.243 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.7344, allocations: 219.7 kB / 1.243 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005153/0.7349, allocations: 84.77 kB / 1.244 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.586e-05/0.735, allocations: 31.98 kB / 1.244 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001711/0.7367, allocations: 1.571 MB / 1.245 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7367, allocations: 0 / 1.245 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00263/0.7394, allocations: 1.32 MB / 1.246 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004669/0.7398, allocations: 363.1 kB / 1.247 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/0.74, allocations: 24 kB / 1.247 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.7411, allocations: 105.8 kB / 1.247 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/0.7412, allocations: 84.88 kB / 1.247 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/0.7413, allocations: 47.97 kB / 1.247 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000786/0.7421, allocations: 0.6228 MB / 1.248 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/0.7422, allocations: 0 / 1.248 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001127/0.7433, allocations: 498.8 kB / 1.248 GB, free: 3.734 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.004284/0.7476, allocations: 2.491 MB / 1.251 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002129/0.7497, allocations: 1.113 MB / 1.252 GB, free: 288 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.7497, allocations: 4 kB / 1.252 GB, free: 284 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.3742/1.124, allocations: 0.6676 MB / 1.252 GB, free: 232.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002353/1.126, allocations: 0.5026 MB / 1.253 GB, free: 232.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01656/1.143, allocations: 9.977 MB / 1.262 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008732/1.144, allocations: 1.209 MB / 1.264 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001681/1.145, allocations: 385.6 kB / 1.264 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008071/1.146, allocations: 0.5706 MB / 1.265 GB, free: 226 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/1.146, allocations: 4.531 kB / 1.265 GB, free: 226 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.466/3.613, allocations: 32.54 MB / 1.296 GB, free: 206.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/3.613, allocations: 283.8 kB / 1.297 GB, free: 206.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.047/6.66, allocations: 0 / 1.297 GB, free: 206.5 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)