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.001832/0.001832, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002301/0.002301, allocations: 209.8 kB / 22.99 MB, free: 4.605 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.429/1.429, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.9575/0.9575, allocations: 149.9 MB / 463 MB, free: 10.34 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.002038/0.002038, allocations: 73.88 kB / 0.6411 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1795, allocations: 89.17 MB / 0.7281 GB, free: 1.035 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5241/0.7036, allocations: 156 MB / 0.8805 GB, free: 9.258 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01768/0.7212, allocations: 12.05 MB / 0.8923 GB, free: 13.17 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.7226, allocations: 39.69 kB / 0.8923 GB, free: 13.13 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.7239, allocations: 472.4 kB / 0.8928 GB, free: 12.66 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002917/0.7268, allocations: 1.079 MB / 0.8938 GB, free: 11.58 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004657/0.7315, allocations: 1.9 MB / 0.8957 GB, free: 9.691 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003154/0.7347, allocations: 2.548 MB / 0.8982 GB, free: 7.137 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001908/0.7366, allocations: 1.274 MB / 0.8994 GB, free: 5.809 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004422/0.741, allocations: 1.65 MB / 0.901 GB, free: 4.195 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00128/0.7423, allocations: 0.8205 MB / 0.9018 GB, free: 3.371 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002605/0.7425, allocations: 176 kB / 0.902 GB, free: 3.199 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002794/0.7453, allocations: 1.283 MB / 0.9032 GB, free: 1.914 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005062/0.7458, allocations: 0.4984 MB / 0.9037 GB, free: 1.414 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008518/0.7467, allocations: 0.7234 MB / 0.9044 GB, free: 0.6875 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004201/0.7509, allocations: 2.845 MB / 0.9072 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.7509, allocations: 8 kB / 0.9072 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.993e-06/0.7509, allocations: 0 / 0.9072 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.26e-05/0.7509, allocations: 0 / 0.9072 GB, free: 13.82 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.003778/0.7547, allocations: 2.032 MB / 0.9092 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.7547, allocations: 8.031 kB / 0.9092 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002541/0.755, allocations: 206.7 kB / 0.9094 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003007/0.758, allocations: 466.4 kB / 0.9099 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00184/0.7598, allocations: 0.9671 MB / 0.9108 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.872e-05/0.7599, allocations: 102.7 kB / 0.9109 GB, free: 9.977 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001936/0.7601, allocations: 132 kB / 0.911 GB, free: 9.848 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002918/0.763, allocations: 2.026 MB / 0.913 GB, free: 7.621 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.086e-05/0.7631, allocations: 3.938 kB / 0.913 GB, free: 7.617 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001395/0.7632, allocations: 59.98 kB / 0.9131 GB, free: 7.559 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.48e-05/0.7632, allocations: 36 kB / 0.9131 GB, free: 7.523 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002785/0.766, allocations: 1.536 MB / 0.9146 GB, free: 5.98 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.006914/0.7729, allocations: 3.978 MB / 0.9185 GB, free: 1.906 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002493/0.7754, allocations: 1.148 MB / 0.9196 GB, free: 0.7578 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008455/0.7763, allocations: 435.6 kB / 0.92 GB, free: 336 kB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005791/0.7769, allocations: 116.9 kB / 0.9201 GB, free: 220 kB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001476/0.7783, allocations: 1.043 MB / 0.9211 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=107): time 2.875e-06/0.7783, allocations: 0 / 0.9211 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of matching and sorting (n=107): time 0.004232/0.7826, allocations: 1.605 MB / 0.9227 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/0.7827, allocations: 192.9 kB / 0.9229 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.784, allocations: 0.9284 MB / 0.9238 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.386e-05/0.7841, allocations: 45.7 kB / 0.9238 GB, free: 12.22 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005444/0.7846, allocations: 0.6103 MB / 0.9244 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003207/0.7849, allocations: 368.8 kB / 0.9248 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003095/0.7852, allocations: 198.5 kB / 0.925 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.7854, allocations: 349.9 kB / 0.9253 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007678/0.7862, allocations: 373.8 kB / 0.9257 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.7873, allocations: 0.74 MB / 0.9264 GB, free: 9.48 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00177/0.789, allocations: 0.9332 MB / 0.9273 GB, free: 8.504 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.789, allocations: 0 / 0.9273 GB, free: 8.504 MB / 0.7012 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002634/0.7917, allocations: 1.198 MB / 0.9285 GB, free: 7.301 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.7917, allocations: 8 kB / 0.9285 GB, free: 7.293 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.7917, allocations: 0 / 0.9285 GB, free: 7.293 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000591/0.7923, allocations: 89.17 kB / 0.9286 GB, free: 7.203 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.7933, allocations: 247.6 kB / 0.9288 GB, free: 6.961 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002277/0.7956, allocations: 1.541 MB / 0.9303 GB, free: 5.301 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009261/0.7965, allocations: 139.7 kB / 0.9304 GB, free: 5.164 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.173e-05/0.7966, allocations: 39.98 kB / 0.9305 GB, free: 5.125 MB / 0.7012 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.0005634/0.7972, allocations: 333.8 kB / 0.9308 GB, free: 4.789 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002413/0.7974, allocations: 139.1 kB / 0.9309 GB, free: 4.652 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003137/0.8006, allocations: 1.438 MB / 0.9323 GB, free: 3.207 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.8006, allocations: 16 kB / 0.9324 GB, free: 3.191 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.8006, allocations: 0 / 0.9324 GB, free: 3.191 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.8006, allocations: 3.984 kB / 0.9324 GB, free: 3.188 MB / 0.7012 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.004773/0.8054, allocations: 2.569 MB / 0.9349 GB, free: 0.5664 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.8054, allocations: 0 / 0.9349 GB, free: 0.5664 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009421/0.8063, allocations: 227.6 kB / 0.9351 GB, free: 352 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004084/0.8067, allocations: 68.8 kB / 0.9351 GB, free: 280 kB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.262e-05/0.8068, allocations: 35.97 kB / 0.9352 GB, free: 244 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001971/0.8088, allocations: 1.566 MB / 0.9367 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.8088, allocations: 0 / 0.9367 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002687/0.8115, allocations: 1.338 MB / 0.938 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006626/0.8121, allocations: 286.7 kB / 0.9383 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001652/0.8123, allocations: 31.98 kB / 0.9383 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008774/0.8132, allocations: 75.92 kB / 0.9384 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/0.8133, allocations: 92.83 kB / 0.9385 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/0.8134, allocations: 51.97 kB / 0.9385 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009188/0.8144, allocations: 0.6389 MB / 0.9392 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8144, allocations: 0 / 0.9392 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001232/0.8156, allocations: 0.4909 MB / 0.9396 GB, free: 11.52 MB / 0.7169 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.005285/0.8209, allocations: 2.525 MB / 0.9421 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002304/0.8232, allocations: 1.082 MB / 0.9432 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.8232, allocations: 0 / 0.9432 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001214/0.8244, allocations: 0.6329 MB / 0.9438 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/0.8266, allocations: 0.543 MB / 0.9443 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01499/0.8415, allocations: 9.003 MB / 0.9531 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007212/0.8423, allocations: 0.6289 MB / 0.9537 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001267/0.8435, allocations: 386.1 kB / 0.9541 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000875/0.8444, allocations: 0.5812 MB / 0.9547 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of SimCode: time 7.01e-07/0.8444, allocations: 4 kB / 0.9547 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08093/0.9253, allocations: 37.05 MB / 0.9908 GB, free: 7.527 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/14.76, allocations: 0 / 0.9908 GB, free: 7.527 MB / 0.7637 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: 18.716130665969104] Failed to read output from testmodel.py, exit status != 0: 14.990898873191327 15.006835686 14.252760404 Calling exit ...