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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 217.6 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.362/1.362, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.033/3.033, allocations: 0.5003 GB / 0.8062 GB, free: 28.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 66.62 kB / 1.17 GB, free: 19.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3022, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.188/0.4902, allocations: 155.9 MB / 1.498 GB, free: 3.441 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01724/0.5074, allocations: 12.02 MB / 1.509 GB, free: 7.383 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001467/0.5089, allocations: 47.56 kB / 1.509 GB, free: 7.336 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001644/0.5105, allocations: 484.3 kB / 1.51 GB, free: 6.859 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003453/0.514, allocations: 1.059 MB / 1.511 GB, free: 5.797 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00498/0.519, allocations: 1.918 MB / 1.513 GB, free: 3.887 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003463/0.5224, allocations: 2.555 MB / 1.515 GB, free: 1.324 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002119/0.5245, allocations: 1.299 MB / 1.516 GB, free: 15.96 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004531/0.5291, allocations: 1.645 MB / 1.518 GB, free: 14.35 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001362/0.5304, allocations: 0.9025 MB / 1.519 GB, free: 13.44 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003496/0.5308, allocations: 175.9 kB / 1.519 GB, free: 13.27 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00266/0.5334, allocations: 1.302 MB / 1.52 GB, free: 11.96 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0005716/0.534, allocations: 0.4984 MB / 1.521 GB, free: 11.46 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0009587/0.535, allocations: 0.7233 MB / 1.522 GB, free: 10.74 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004293/0.5393, allocations: 2.849 MB / 1.524 GB, free: 7.879 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.5393, allocations: 0 / 1.524 GB, free: 7.879 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5393, allocations: 0 / 1.524 GB, free: 7.879 MB / 1.217 GB Notification: Performance of Transformations before backend: time 4.095e-05/0.5393, allocations: 0 / 1.524 GB, free: 7.879 MB / 1.217 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.003955/0.5433, allocations: 2.035 MB / 1.526 GB, free: 5.797 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.5433, allocations: 8.031 kB / 1.526 GB, free: 5.789 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.695e-05/0.5434, allocations: 38.72 kB / 1.526 GB, free: 5.75 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003136/0.5437, allocations: 198.7 kB / 1.527 GB, free: 5.547 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00339/0.5471, allocations: 462.4 kB / 1.527 GB, free: 5.094 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001875/0.5489, allocations: 0.9711 MB / 1.528 GB, free: 4.098 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.549, allocations: 98.72 kB / 1.528 GB, free: 4 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001985/0.5492, allocations: 132 kB / 1.528 GB, free: 3.871 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003125/0.5524, allocations: 2.03 MB / 1.53 GB, free: 1.641 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/0.5524, allocations: 0 / 1.53 GB, free: 1.641 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/0.5525, allocations: 60 kB / 1.53 GB, free: 1.582 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.782e-05/0.5526, allocations: 32 kB / 1.53 GB, free: 1.551 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002865/0.5554, allocations: 1.598 MB / 1.532 GB, free: 15.95 MB / 1.232 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.007053/0.5625, allocations: 3.979 MB / 1.536 GB, free: 11.87 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002557/0.565, allocations: 1.145 MB / 1.537 GB, free: 10.73 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008734/0.5659, allocations: 443.6 kB / 1.537 GB, free: 10.29 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006263/0.5665, allocations: 112.9 kB / 1.537 GB, free: 10.18 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001557/0.5681, allocations: 1.043 MB / 1.538 GB, free: 9.027 MB / 1.232 GB Notification: Performance of pre-optimization done (n=107): time 3.126e-06/0.5681, allocations: 0 / 1.538 GB, free: 9.027 MB / 1.232 GB Notification: Performance of matching and sorting (n=107): time 0.004463/0.5726, allocations: 1.601 MB / 1.54 GB, free: 7.418 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/0.5727, allocations: 200.9 kB / 1.54 GB, free: 7.18 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.574, allocations: 0.9167 MB / 1.541 GB, free: 6.242 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001091/0.5741, allocations: 49.64 kB / 1.541 GB, free: 6.188 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.000569/0.5747, allocations: 0.6103 MB / 1.542 GB, free: 5.57 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.000337/0.575, allocations: 368.8 kB / 1.542 GB, free: 5.207 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003535/0.5754, allocations: 202.5 kB / 1.542 GB, free: 5 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.5755, allocations: 345.9 kB / 1.543 GB, free: 4.656 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007921/0.5763, allocations: 381.8 kB / 1.543 GB, free: 4.285 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/0.5774, allocations: 0.7395 MB / 1.544 GB, free: 3.441 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001852/0.5793, allocations: 0.9332 MB / 1.545 GB, free: 2.465 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.5793, allocations: 0 / 1.545 GB, free: 2.465 MB / 1.232 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002929/0.5822, allocations: 1.192 MB / 1.546 GB, free: 1.266 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.5822, allocations: 4.406 kB / 1.546 GB, free: 1.262 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.5823, allocations: 8 kB / 1.546 GB, free: 1.254 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006096/0.5829, allocations: 84.77 kB / 1.546 GB, free: 1.168 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.584, allocations: 247.7 kB / 1.546 GB, free: 0.9258 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002223/0.5862, allocations: 1.537 MB / 1.548 GB, free: 15.27 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.5873, allocations: 135.1 kB / 1.548 GB, free: 15.14 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.521e-05/0.5874, allocations: 43.97 kB / 1.548 GB, free: 15.09 MB / 1.248 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.0006451/0.588, allocations: 345.6 kB / 1.548 GB, free: 14.75 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002631/0.5883, allocations: 135.2 kB / 1.548 GB, free: 14.61 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003297/0.5916, allocations: 1.441 MB / 1.55 GB, free: 13.16 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.5916, allocations: 12 kB / 1.55 GB, free: 13.15 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.5916, allocations: 0 / 1.55 GB, free: 13.15 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.5916, allocations: 7.969 kB / 1.55 GB, free: 13.14 MB / 1.248 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.004888/0.5965, allocations: 2.572 MB / 1.552 GB, free: 10.52 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.5965, allocations: 3.938 kB / 1.552 GB, free: 10.52 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.5975, allocations: 215.8 kB / 1.552 GB, free: 10.3 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004537/0.598, allocations: 76.72 kB / 1.552 GB, free: 10.23 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-05/0.5981, allocations: 39.91 kB / 1.552 GB, free: 10.19 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002057/0.6001, allocations: 1.559 MB / 1.554 GB, free: 8.5 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6001, allocations: 64 / 1.554 GB, free: 8.5 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002864/0.603, allocations: 1.342 MB / 1.555 GB, free: 7.141 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006093/0.6036, allocations: 290.7 kB / 1.556 GB, free: 6.855 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001809/0.6038, allocations: 23.94 kB / 1.556 GB, free: 6.832 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009517/0.6047, allocations: 82.58 kB / 1.556 GB, free: 6.754 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/0.6049, allocations: 88.83 kB / 1.556 GB, free: 6.664 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.605, allocations: 51.95 kB / 1.556 GB, free: 6.613 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0009397/0.606, allocations: 0.635 MB / 1.556 GB, free: 5.969 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.21e-07/0.606, allocations: 0 / 1.556 GB, free: 5.969 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001278/0.6073, allocations: 0.4948 MB / 1.557 GB, free: 5.473 MB / 1.248 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.005344/0.6126, allocations: 2.509 MB / 1.559 GB, free: 3.148 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002392/0.615, allocations: 1.081 MB / 1.56 GB, free: 2.051 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.615, allocations: 0.75 kB / 1.56 GB, free: 2.051 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.00127/0.6163, allocations: 0.6407 MB / 1.561 GB, free: 1.402 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002263/0.6185, allocations: 0.5301 MB / 1.562 GB, free: 0.8906 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0176/0.6361, allocations: 9.012 MB / 1.57 GB, free: 7.668 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008175/0.6369, allocations: 0.6327 MB / 1.571 GB, free: 7 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001506/0.6384, allocations: 394 kB / 1.571 GB, free: 6.613 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009685/0.6394, allocations: 0.5734 MB / 1.572 GB, free: 6.039 MB / 1.264 GB Notification: Performance of SimCode: time 8.92e-07/0.6394, allocations: 0 / 1.572 GB, free: 6.039 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08016/0.7196, allocations: 36.89 MB / 1.608 GB, free: 1.703 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.39/16.11, allocations: 6.812 kB / 1.608 GB, free: 1.699 MB / 1.295 GB " [Timeout remaining time 284] (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/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 --stepSize=12614.4 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 23.285536359995604] Failed to read output from testmodel.py, exit status != 0: 16.394611508003436 17.052614207 16.510604578 Calling exit ...