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.001295/0.001295, allocations: 114.5 kB / 17.13 MB, free: 6.027 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.001395/0.001395, allocations: 207.2 kB / 20.1 MB, free: 3.074 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.375/1.375, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.9158/0.9158, allocations: 150 MB / 459.5 MB, free: 5.277 MB / 350.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.001901/0.001901, allocations: 73.11 kB / 0.6361 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1592, allocations: 89.14 MB / 0.7232 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.6081/0.7673, allocations: 180.3 MB / 0.8992 GB, free: 2.285 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01446/0.7818, allocations: 12.97 MB / 0.9119 GB, free: 1.926 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001508/0.7833, allocations: 43.38 kB / 0.912 GB, free: 1.926 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00126/0.7845, allocations: 490.3 kB / 0.9124 GB, free: 1.918 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002936/0.7875, allocations: 1.062 MB / 0.9135 GB, free: 1.867 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004764/0.7922, allocations: 1.903 MB / 0.9153 GB, free: 1.801 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003159/0.7954, allocations: 2.547 MB / 0.9178 GB, free: 1.793 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001849/0.7972, allocations: 1.317 MB / 0.9191 GB, free: 17.62 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004511/0.8018, allocations: 1.635 MB / 0.9207 GB, free: 17.59 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001649/0.8034, allocations: 0.9055 MB / 0.9216 GB, free: 17.51 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002412/0.8036, allocations: 175 kB / 0.9217 GB, free: 17.51 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002932/0.8066, allocations: 1.509 MB / 0.9232 GB, free: 17.48 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003679/0.8069, allocations: 0.4894 MB / 0.9237 GB, free: 17.41 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000812/0.8078, allocations: 0.8892 MB / 0.9246 GB, free: 17.16 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003976/0.8117, allocations: 2.859 MB / 0.9274 GB, free: 16.76 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.8117, allocations: 2.344 kB / 0.9274 GB, free: 16.76 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.943e-06/0.8117, allocations: 0 / 0.9274 GB, free: 16.76 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.892e-05/0.8118, allocations: 0 / 0.9274 GB, free: 16.76 MB / 0.6856 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.003623/0.8154, allocations: 2.108 MB / 0.9294 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.8154, allocations: 12.67 kB / 0.9294 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002531/0.8157, allocations: 209.1 kB / 0.9296 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003196/0.8189, allocations: 465.2 kB / 0.9301 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00173/0.8206, allocations: 1.049 MB / 0.9311 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-05/0.8207, allocations: 99.44 kB / 0.9312 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001765/0.8209, allocations: 130.8 kB / 0.9313 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002589/0.8235, allocations: 1.523 MB / 0.9328 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.642e-05/0.8235, allocations: 1.906 kB / 0.9328 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/0.8236, allocations: 57.78 kB / 0.9329 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.506e-05/0.8237, allocations: 37.78 kB / 0.9329 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002778/0.8264, allocations: 1.586 MB / 0.9344 GB, free: 14.42 MB / 0.6856 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.008104/0.8345, allocations: 5.423 MB / 0.9397 GB, free: 10.4 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002676/0.8372, allocations: 1.453 MB / 0.9412 GB, free: 9.438 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008373/0.8381, allocations: 443.3 kB / 0.9416 GB, free: 9.211 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008017/0.8389, allocations: 428.4 kB / 0.942 GB, free: 8.789 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00133/0.8402, allocations: 0.6862 MB / 0.9427 GB, free: 8.371 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=107): time 2.815e-06/0.8402, allocations: 0 / 0.9427 GB, free: 8.371 MB / 0.6856 GB Notification: Performance of matching and sorting (n=107): time 0.004555/0.8447, allocations: 1.674 MB / 0.9443 GB, free: 7.484 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.8449, allocations: 199.1 kB / 0.9445 GB, free: 7.258 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/0.8463, allocations: 0.9159 MB / 0.9454 GB, free: 6.738 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001247/0.8464, allocations: 52.7 kB / 0.9454 GB, free: 6.691 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005958/0.847, allocations: 0.6119 MB / 0.946 GB, free: 6.148 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003757/0.8474, allocations: 374.3 kB / 0.9464 GB, free: 5.832 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003215/0.8477, allocations: 197 kB / 0.9466 GB, free: 5.715 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001914/0.8479, allocations: 345 kB / 0.9469 GB, free: 5.383 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007843/0.8487, allocations: 375.4 kB / 0.9473 GB, free: 5.195 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009932/0.8497, allocations: 0.5619 MB / 0.9478 GB, free: 4.797 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001751/0.8514, allocations: 0.9385 MB / 0.9487 GB, free: 4.254 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.8514, allocations: 0 / 0.9487 GB, free: 4.254 MB / 0.6856 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002816/0.8542, allocations: 1.191 MB / 0.9499 GB, free: 3.664 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.8543, allocations: 11.44 kB / 0.9499 GB, free: 3.66 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.8543, allocations: 2.344 kB / 0.9499 GB, free: 3.66 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006152/0.8549, allocations: 89.27 kB / 0.95 GB, free: 3.617 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.8559, allocations: 248.8 kB / 0.9502 GB, free: 3.57 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002474/0.8584, allocations: 1.645 MB / 0.9518 GB, free: 1.969 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.8595, allocations: 140.8 kB / 0.952 GB, free: 1.875 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.404e-05/0.8596, allocations: 43.94 kB / 0.952 GB, free: 1.859 MB / 0.6856 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.0007502/0.8604, allocations: 340.2 kB / 0.9523 GB, free: 1.621 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002667/0.8606, allocations: 132.4 kB / 0.9525 GB, free: 1.551 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003248/0.8639, allocations: 1.434 MB / 0.9539 GB, free: 0.7422 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.8639, allocations: 16.66 kB / 0.9539 GB, free: 0.7383 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.8639, allocations: 0 / 0.9539 GB, free: 0.7383 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/0.8639, allocations: 7.969 kB / 0.9539 GB, free: 0.7305 MB / 0.6856 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.00561/0.8695, allocations: 2.895 MB / 0.9567 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.8695, allocations: 0 / 0.9567 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009529/0.8705, allocations: 223.8 kB / 0.9569 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004579/0.8709, allocations: 79.52 kB / 0.957 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001108/0.871, allocations: 33.56 kB / 0.957 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002246/0.8733, allocations: 1.672 MB / 0.9587 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.8733, allocations: 2.531 kB / 0.9587 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003059/0.8763, allocations: 1.332 MB / 0.96 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007874/0.8771, allocations: 371.5 kB / 0.9603 GB, free: 12.06 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002939/0.8774, allocations: 24.62 kB / 0.9603 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.8785, allocations: 78.5 kB / 0.9604 GB, free: 12 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002019/0.8787, allocations: 85.27 kB / 0.9605 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/0.8789, allocations: 53.08 kB / 0.9605 GB, free: 11.94 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001223/0.8801, allocations: 0.6365 MB / 0.9612 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8801, allocations: 0 / 0.9612 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00167/0.8817, allocations: 0.4921 MB / 0.9616 GB, free: 11.43 MB / 0.7012 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.005766/0.8875, allocations: 2.477 MB / 0.9641 GB, free: 9.742 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002668/0.8902, allocations: 1.076 MB / 0.9651 GB, free: 8.668 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/0.8902, allocations: 8 kB / 0.9651 GB, free: 8.66 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001355/0.8915, allocations: 0.6283 MB / 0.9657 GB, free: 8.043 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002805/0.8944, allocations: 0.5509 MB / 0.9663 GB, free: 7.516 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01873/0.9131, allocations: 9.003 MB / 0.9751 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001292/0.9144, allocations: 1.213 MB / 0.9763 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001584/0.916, allocations: 386.1 kB / 0.9766 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009973/0.917, allocations: 0.5837 MB / 0.9772 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of SimCode: time 1.603e-06/0.917, allocations: 4 kB / 0.9772 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08906/1.006, allocations: 34.46 MB / 1.011 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.06/15.07, allocations: 6.047 kB / 1.011 GB, free: 10.11 MB / 0.7481 GB " [Timeout remaining time 645] (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.024927727878094] Failed to read output from testmodel.py, exit status != 0: 15.28210773714818 15.303480775 14.487694341 Calling exit ...