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.001279/0.001279, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001317/0.001317, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.441/1.441, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.864/2.864, allocations: 0.5003 GB / 0.8026 GB, free: 6.875 MB / 0.6387 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.001943/0.001943, allocations: 63.91 kB / 1.165 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8894/0.8913, allocations: 178.9 MB / 1.34 GB, free: 16.37 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2259/1.117, allocations: 180.4 MB / 1.516 GB, free: 3.812 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01884/1.136, allocations: 12.95 MB / 1.529 GB, free: 6.816 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001513/1.138, allocations: 43.62 kB / 1.529 GB, free: 6.773 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001399/1.139, allocations: 488.3 kB / 1.529 GB, free: 6.293 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00312/1.142, allocations: 1.073 MB / 1.53 GB, free: 5.219 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00448/1.147, allocations: 1.896 MB / 1.532 GB, free: 3.328 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003469/1.15, allocations: 2.547 MB / 1.535 GB, free: 0.7734 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002255/1.152, allocations: 1.325 MB / 1.536 GB, free: 15.39 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004627/1.157, allocations: 1.641 MB / 1.538 GB, free: 13.78 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001303/1.158, allocations: 0.9026 MB / 1.539 GB, free: 12.87 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0004467/1.159, allocations: 176 kB / 1.539 GB, free: 12.7 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003224/1.162, allocations: 1.509 MB / 1.54 GB, free: 11.19 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0005598/1.162, allocations: 0.4946 MB / 1.541 GB, free: 10.69 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001032/1.163, allocations: 0.8863 MB / 1.542 GB, free: 9.801 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004366/1.168, allocations: 2.861 MB / 1.544 GB, free: 6.93 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/1.168, allocations: 0 / 1.544 GB, free: 6.93 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.493e-06/1.168, allocations: 0 / 1.544 GB, free: 6.93 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.873e-05/1.168, allocations: 0 / 1.544 GB, free: 6.93 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.003933/1.172, allocations: 2.112 MB / 1.546 GB, free: 4.754 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/1.172, allocations: 12.62 kB / 1.546 GB, free: 4.742 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.292e-05/1.172, allocations: 34.72 kB / 1.546 GB, free: 4.707 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002609/1.172, allocations: 202.7 kB / 1.547 GB, free: 4.5 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003224/1.175, allocations: 470.4 kB / 1.547 GB, free: 4.039 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00175/1.177, allocations: 1.043 MB / 1.548 GB, free: 2.953 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.904e-05/1.177, allocations: 98.72 kB / 1.548 GB, free: 2.855 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001983/1.177, allocations: 136 kB / 1.548 GB, free: 2.723 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00264/1.18, allocations: 1.52 MB / 1.55 GB, free: 1.125 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/1.18, allocations: 4 kB / 1.55 GB, free: 1.121 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001406/1.18, allocations: 56 kB / 1.55 GB, free: 1.066 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.271e-05/1.18, allocations: 36 kB / 1.55 GB, free: 1.031 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002819/1.183, allocations: 1.591 MB / 1.551 GB, free: 15.43 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.007888/1.191, allocations: 5.419 MB / 1.557 GB, free: 9.668 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002672/1.194, allocations: 1.457 MB / 1.558 GB, free: 8.137 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008517/1.195, allocations: 439.6 kB / 1.559 GB, free: 7.707 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007533/1.195, allocations: 429.2 kB / 1.559 GB, free: 7.215 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001305/1.197, allocations: 0.6918 MB / 1.56 GB, free: 6.504 MB / 1.232 GB Notification: Performance of pre-optimization done (n=107): time 4.539e-06/1.197, allocations: 3.984 kB / 1.56 GB, free: 6.5 MB / 1.232 GB Notification: Performance of matching and sorting (n=107): time 0.004495/1.201, allocations: 1.673 MB / 1.561 GB, free: 4.801 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/1.201, allocations: 196.9 kB / 1.562 GB, free: 4.562 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/1.203, allocations: 0.9245 MB / 1.562 GB, free: 3.617 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001067/1.203, allocations: 53.64 kB / 1.562 GB, free: 3.559 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005371/1.203, allocations: 0.6103 MB / 1.563 GB, free: 2.941 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003385/1.203, allocations: 372.8 kB / 1.563 GB, free: 2.574 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003436/1.204, allocations: 198.5 kB / 1.564 GB, free: 2.375 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001563/1.204, allocations: 341.9 kB / 1.564 GB, free: 2.035 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008056/1.205, allocations: 381.8 kB / 1.564 GB, free: 1.664 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/1.206, allocations: 0.5593 MB / 1.565 GB, free: 1.039 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001751/1.208, allocations: 0.9332 MB / 1.566 GB, free: 68 kB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/1.208, allocations: 4 kB / 1.566 GB, free: 64 kB / 1.232 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002824/1.21, allocations: 1.181 MB / 1.567 GB, free: 14.86 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/1.21, allocations: 8.406 kB / 1.567 GB, free: 14.86 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/1.21, allocations: 12 kB / 1.567 GB, free: 14.84 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006184/1.211, allocations: 84.77 kB / 1.567 GB, free: 14.76 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/1.212, allocations: 247.7 kB / 1.567 GB, free: 14.52 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002209/1.214, allocations: 1.656 MB / 1.569 GB, free: 12.72 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/1.215, allocations: 127.2 kB / 1.569 GB, free: 12.59 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.753e-05/1.215, allocations: 43.97 kB / 1.569 GB, free: 12.55 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.0006448/1.216, allocations: 349.7 kB / 1.569 GB, free: 12.2 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000257/1.216, allocations: 131.2 kB / 1.569 GB, free: 12.07 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003255/1.22, allocations: 1.437 MB / 1.571 GB, free: 10.62 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/1.22, allocations: 12 kB / 1.571 GB, free: 10.61 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/1.22, allocations: 0 / 1.571 GB, free: 10.61 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/1.22, allocations: 3.984 kB / 1.571 GB, free: 10.61 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.004906/1.225, allocations: 2.888 MB / 1.574 GB, free: 7.641 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/1.225, allocations: 3.938 kB / 1.574 GB, free: 7.637 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009782/1.226, allocations: 219.7 kB / 1.574 GB, free: 7.422 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004427/1.226, allocations: 76.72 kB / 1.574 GB, free: 7.344 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.194e-05/1.226, allocations: 35.97 kB / 1.574 GB, free: 7.309 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002031/1.228, allocations: 1.678 MB / 1.576 GB, free: 5.48 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.228, allocations: 0 / 1.576 GB, free: 5.48 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002793/1.231, allocations: 1.327 MB / 1.577 GB, free: 4.133 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005556/1.231, allocations: 363.8 kB / 1.577 GB, free: 3.758 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/1.232, allocations: 27.92 kB / 1.577 GB, free: 3.73 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009309/1.233, allocations: 87.92 kB / 1.577 GB, free: 3.645 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001921/1.233, allocations: 84.88 kB / 1.578 GB, free: 3.562 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/1.233, allocations: 47.97 kB / 1.578 GB, free: 3.516 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0009183/1.234, allocations: 0.6389 MB / 1.578 GB, free: 2.867 MB / 1.248 GB Notification: Performance of sort global known variables: time 9.1e-08/1.234, allocations: 0 / 1.578 GB, free: 2.867 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001271/1.235, allocations: 0.4987 MB / 1.579 GB, free: 2.367 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.005065/1.24, allocations: 2.478 MB / 1.581 GB, free: 44 kB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002343/1.242, allocations: 1.082 MB / 1.582 GB, free: 14.95 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/1.242, allocations: 4 kB / 1.582 GB, free: 14.94 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001254/1.244, allocations: 0.6328 MB / 1.583 GB, free: 14.3 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002189/1.246, allocations: 0.5348 MB / 1.583 GB, free: 13.78 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01518/1.261, allocations: 9.001 MB / 1.592 GB, free: 4.582 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008616/1.262, allocations: 1.213 MB / 1.593 GB, free: 3.336 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001291/1.263, allocations: 394 kB / 1.594 GB, free: 2.949 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008695/1.264, allocations: 0.5812 MB / 1.594 GB, free: 2.367 MB / 1.264 GB Notification: Performance of SimCode: time 6.01e-07/1.264, allocations: 0 / 1.594 GB, free: 2.367 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06938/1.333, allocations: 34.53 MB / 1.628 GB, free: 248 kB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.23/15.56, allocations: 10.72 kB / 1.628 GB, free: 240 kB / 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: 21.903682333009783] Failed to read output from testmodel.py, exit status != 0: 15.823599804018158 15.840109615 14.668765521 Calling exit ...