Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001641/0.001641, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.002003/0.002003, allocations: 227.9 kB / 23.01 MB, free: 5.004 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.385/1.385, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.8994/0.8994, allocations: 150 MB / 463.2 MB, free: 10.54 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.001979/0.001979, allocations: 62.69 kB / 0.6413 GB, free: 10.47 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1707, allocations: 89.18 MB / 0.7283 GB, free: 1.359 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5582/0.7288, allocations: 180.6 MB / 0.9047 GB, free: 2.84 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01843/0.7473, allocations: 13.15 MB / 0.9175 GB, free: 5.66 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001534/0.7488, allocations: 39.69 kB / 0.9176 GB, free: 5.621 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001459/0.7503, allocations: 496.3 kB / 0.918 GB, free: 5.133 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003307/0.7536, allocations: 1.071 MB / 0.9191 GB, free: 4.059 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004705/0.7583, allocations: 1.953 MB / 0.921 GB, free: 2.113 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003278/0.7615, allocations: 2.565 MB / 0.9235 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001898/0.7634, allocations: 1.295 MB / 0.9248 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004339/0.7678, allocations: 1.657 MB / 0.9264 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001445/0.7692, allocations: 0.9025 MB / 0.9273 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002496/0.7695, allocations: 175.9 kB / 0.9274 GB, free: 11.49 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003082/0.7726, allocations: 1.525 MB / 0.9289 GB, free: 9.961 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0004924/0.7731, allocations: 0.5023 MB / 0.9294 GB, free: 9.457 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0009609/0.774, allocations: 0.8825 MB / 0.9303 GB, free: 8.57 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004344/0.7784, allocations: 2.867 MB / 0.9331 GB, free: 5.695 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.7784, allocations: 0 / 0.9331 GB, free: 5.695 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7784, allocations: 0 / 0.9331 GB, free: 5.695 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.538e-05/0.7784, allocations: 3.938 kB / 0.9331 GB, free: 5.691 MB / 0.7012 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.003755/0.7821, allocations: 2.032 MB / 0.9351 GB, free: 3.613 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.7822, allocations: 8.031 kB / 0.9351 GB, free: 3.605 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002658/0.7825, allocations: 202.7 kB / 0.9353 GB, free: 3.398 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003292/0.7858, allocations: 466.4 kB / 0.9357 GB, free: 2.941 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001904/0.7877, allocations: 0.9633 MB / 0.9366 GB, free: 1.953 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.7878, allocations: 102.7 kB / 0.9367 GB, free: 1.852 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001777/0.7879, allocations: 132 kB / 0.9369 GB, free: 1.723 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002643/0.7906, allocations: 1.524 MB / 0.9384 GB, free: 124 kB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.658e-05/0.7906, allocations: 0 / 0.9384 GB, free: 124 kB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.7907, allocations: 60 kB / 0.9384 GB, free: 64 kB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.003e-05/0.7908, allocations: 39.94 kB / 0.9385 GB, free: 24 kB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00273/0.7935, allocations: 1.587 MB / 0.94 GB, free: 14.43 MB / 0.7169 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.007979/0.8015, allocations: 5.34 MB / 0.9452 GB, free: 8.746 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002483/0.8039, allocations: 1.143 MB / 0.9463 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008329/0.8048, allocations: 443.6 kB / 0.9468 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006168/0.8054, allocations: 120.8 kB / 0.9469 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001281/0.8067, allocations: 0.6912 MB / 0.9475 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=107): time 2.915e-06/0.8067, allocations: 4 kB / 0.9476 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of matching and sorting (n=107): time 0.00435/0.811, allocations: 1.598 MB / 0.9491 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.8112, allocations: 192.9 kB / 0.9493 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/0.8125, allocations: 0.9283 MB / 0.9502 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001096/0.8126, allocations: 53.7 kB / 0.9503 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005635/0.8132, allocations: 0.6103 MB / 0.9509 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003418/0.8135, allocations: 368.9 kB / 0.9512 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000317/0.8138, allocations: 194.6 kB / 0.9514 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.814, allocations: 345.9 kB / 0.9517 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007687/0.8148, allocations: 382.9 kB / 0.9521 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009825/0.8158, allocations: 0.5593 MB / 0.9526 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001774/0.8175, allocations: 0.9332 MB / 0.9535 GB, free: 16 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.8175, allocations: 4 kB / 0.9535 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002815/0.8203, allocations: 1.188 MB / 0.9547 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.8204, allocations: 8 kB / 0.9547 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.8204, allocations: 4 kB / 0.9547 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000643/0.821, allocations: 89.17 kB / 0.9548 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.8221, allocations: 247.6 kB / 0.955 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002225/0.8243, allocations: 1.561 MB / 0.9566 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.8254, allocations: 127.3 kB / 0.9567 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.092e-05/0.8254, allocations: 47.97 kB / 0.9567 GB, free: 12.6 MB / 0.7325 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.00068/0.8261, allocations: 337.5 kB / 0.9571 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002438/0.8264, allocations: 127.2 kB / 0.9572 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00316/0.8295, allocations: 1.437 MB / 0.9586 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.8295, allocations: 12 kB / 0.9586 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.8295, allocations: 3.984 kB / 0.9586 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.8296, allocations: 3.984 kB / 0.9586 GB, free: 10.67 MB / 0.7325 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.005045/0.8346, allocations: 2.872 MB / 0.9614 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.8346, allocations: 0 / 0.9614 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.8356, allocations: 223.7 kB / 0.9616 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000471/0.8361, allocations: 72.72 kB / 0.9617 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.768e-05/0.8362, allocations: 39.98 kB / 0.9617 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002/0.8382, allocations: 1.555 MB / 0.9632 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.8382, allocations: 0 / 0.9632 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002823/0.841, allocations: 1.338 MB / 0.9645 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007124/0.8417, allocations: 290.7 kB / 0.9648 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001703/0.8419, allocations: 27.94 kB / 0.9648 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009066/0.8428, allocations: 86.72 kB / 0.9649 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/0.8429, allocations: 84.83 kB / 0.965 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/0.8431, allocations: 51.97 kB / 0.9651 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009433/0.844, allocations: 0.6389 MB / 0.9657 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.844, allocations: 0 / 0.9657 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001271/0.8453, allocations: 498.7 kB / 0.9662 GB, free: 2.691 MB / 0.7325 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.005141/0.8504, allocations: 2.493 MB / 0.9686 GB, free: 388 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002346/0.8528, allocations: 1.082 MB / 0.9697 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.8528, allocations: 4 kB / 0.9697 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001224/0.854, allocations: 0.629 MB / 0.9703 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002273/0.8563, allocations: 0.5348 MB / 0.9708 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01543/0.8717, allocations: 9.011 MB / 0.9796 GB, free: 4.906 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009101/0.8726, allocations: 1.209 MB / 0.9808 GB, free: 3.664 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001395/0.874, allocations: 390.1 kB / 0.9811 GB, free: 3.281 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008522/0.8748, allocations: 0.5812 MB / 0.9817 GB, free: 2.699 MB / 0.7481 GB Notification: Performance of SimCode: time 1.233e-06/0.8749, allocations: 0 / 0.9817 GB, free: 2.699 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08239/0.9572, allocations: 35.25 MB / 1.016 GB, free: 15.79 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.69/15.64, allocations: 6.344 kB / 1.016 GB, free: 15.78 MB / 0.795 GB " [Timeout remaining time 644] (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.570856176000234] Failed to read output from testmodel.py, exit status != 0: 15.8741809489984 15.887868863 15.106497335 Calling exit ...