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.001823/0.001823, 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.00214/0.00214, allocations: 214.9 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.392/1.392, 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.9454/0.9454, allocations: 149.9 MB / 463 MB, free: 10.37 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.001999/0.001999, allocations: 62.78 kB / 0.6411 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1675, allocations: 89.18 MB / 0.7282 GB, free: 1.043 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5407/0.7082, allocations: 156 MB / 0.8805 GB, free: 9.273 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01834/0.7265, allocations: 12.05 MB / 0.8923 GB, free: 13.19 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001465/0.728, allocations: 43.69 kB / 0.8923 GB, free: 13.14 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001349/0.7293, allocations: 480.3 kB / 0.8928 GB, free: 12.67 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003071/0.7324, allocations: 1.06 MB / 0.8938 GB, free: 11.61 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005021/0.7374, allocations: 1.909 MB / 0.8957 GB, free: 9.711 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003377/0.7408, allocations: 2.552 MB / 0.8982 GB, free: 7.152 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002127/0.7429, allocations: 1.272 MB / 0.8994 GB, free: 5.824 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004436/0.7474, allocations: 1.651 MB / 0.901 GB, free: 4.215 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00129/0.7487, allocations: 0.8244 MB / 0.9018 GB, free: 3.387 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002726/0.7489, allocations: 179.9 kB / 0.902 GB, free: 3.211 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003016/0.7519, allocations: 1.275 MB / 0.9032 GB, free: 1.934 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005291/0.7525, allocations: 0.4984 MB / 0.9037 GB, free: 1.434 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0009102/0.7534, allocations: 0.7195 MB / 0.9044 GB, free: 0.7109 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004136/0.7575, allocations: 2.849 MB / 0.9072 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.7575, allocations: 0 / 0.9072 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7575, allocations: 0 / 0.9072 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.114e-05/0.7576, allocations: 3.938 kB / 0.9072 GB, free: 13.84 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.003878/0.7614, allocations: 2.032 MB / 0.9092 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.7615, allocations: 8.031 kB / 0.9092 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002507/0.7617, allocations: 198.7 kB / 0.9094 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003148/0.7649, allocations: 478.3 kB / 0.9099 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001916/0.7668, allocations: 0.9633 MB / 0.9108 GB, free: 10.1 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.7669, allocations: 98.72 kB / 0.9109 GB, free: 10 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001915/0.7671, allocations: 136 kB / 0.911 GB, free: 9.867 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002977/0.7701, allocations: 2.026 MB / 0.913 GB, free: 7.641 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/0.7701, allocations: 0 / 0.913 GB, free: 7.641 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001297/0.7702, allocations: 60 kB / 0.9131 GB, free: 7.582 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-05/0.7703, allocations: 35.94 kB / 0.9131 GB, free: 7.547 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002756/0.773, allocations: 1.548 MB / 0.9146 GB, free: 5.992 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.006923/0.7799, allocations: 3.969 MB / 0.9185 GB, free: 1.93 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002479/0.7824, allocations: 1.156 MB / 0.9196 GB, free: 0.7734 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008313/0.7833, allocations: 439.6 kB / 0.92 GB, free: 348 kB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005717/0.7838, allocations: 112.9 kB / 0.9201 GB, free: 236 kB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001475/0.7853, allocations: 1.043 MB / 0.9212 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=107): time 3.035e-06/0.7853, allocations: 0 / 0.9212 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of matching and sorting (n=107): time 0.004339/0.7896, allocations: 1.602 MB / 0.9227 GB, free: 13.47 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.7898, allocations: 196.9 kB / 0.9229 GB, free: 13.24 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.7911, allocations: 0.9206 MB / 0.9238 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.284e-05/0.7912, allocations: 49.7 kB / 0.9239 GB, free: 12.24 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000569/0.7917, allocations: 0.6103 MB / 0.9244 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003371/0.7921, allocations: 376.8 kB / 0.9248 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000322/0.7924, allocations: 194.6 kB / 0.925 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.7926, allocations: 341.9 kB / 0.9253 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007795/0.7933, allocations: 381.8 kB / 0.9257 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/0.7944, allocations: 0.7389 MB / 0.9264 GB, free: 9.496 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001807/0.7962, allocations: 0.9293 MB / 0.9273 GB, free: 8.523 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.7963, allocations: 4 kB / 0.9273 GB, free: 8.52 MB / 0.7012 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002744/0.799, allocations: 1.198 MB / 0.9285 GB, free: 7.316 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.799, allocations: 10.03 kB / 0.9285 GB, free: 7.309 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.799, allocations: 4 kB / 0.9285 GB, free: 7.305 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005995/0.7996, allocations: 88.89 kB / 0.9286 GB, free: 7.215 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.8007, allocations: 243.7 kB / 0.9288 GB, free: 6.977 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002195/0.8029, allocations: 1.536 MB / 0.9303 GB, free: 5.32 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009713/0.8039, allocations: 147.2 kB / 0.9305 GB, free: 5.176 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-05/0.804, allocations: 43.97 kB / 0.9305 GB, free: 5.133 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.0006408/0.8046, allocations: 337.6 kB / 0.9308 GB, free: 4.793 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002447/0.8048, allocations: 127.2 kB / 0.9309 GB, free: 4.668 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003227/0.8081, allocations: 1.433 MB / 0.9323 GB, free: 3.227 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.8081, allocations: 15.98 kB / 0.9324 GB, free: 3.211 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.8081, allocations: 0 / 0.9324 GB, free: 3.211 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.8081, allocations: 7.969 kB / 0.9324 GB, free: 3.203 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.005033/0.8131, allocations: 2.569 MB / 0.9349 GB, free: 0.582 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.8131, allocations: 0 / 0.9349 GB, free: 0.582 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009849/0.8141, allocations: 219.7 kB / 0.9351 GB, free: 376 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004346/0.8146, allocations: 80.72 kB / 0.9352 GB, free: 292 kB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-05/0.8146, allocations: 31.97 kB / 0.9352 GB, free: 260 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002026/0.8167, allocations: 1.559 MB / 0.9367 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.8167, allocations: 0 / 0.9367 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002849/0.8195, allocations: 1.338 MB / 0.938 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007283/0.8202, allocations: 294.7 kB / 0.9383 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/0.8204, allocations: 31.94 kB / 0.9383 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008749/0.8213, allocations: 73.05 kB / 0.9384 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/0.8215, allocations: 88.83 kB / 0.9385 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/0.8216, allocations: 51.95 kB / 0.9385 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000971/0.8226, allocations: 0.6389 MB / 0.9392 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/0.8226, allocations: 0 / 0.9392 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001397/0.824, allocations: 0.4948 MB / 0.9396 GB, free: 11.54 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.00548/0.8294, allocations: 2.522 MB / 0.9421 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002455/0.8319, allocations: 1.082 MB / 0.9432 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.8319, allocations: 4 kB / 0.9432 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001241/0.8331, allocations: 0.6329 MB / 0.9438 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002196/0.8353, allocations: 0.5346 MB / 0.9443 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01542/0.8508, allocations: 9.003 MB / 0.9531 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000756/0.8515, allocations: 0.6289 MB / 0.9537 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001368/0.8529, allocations: 390.1 kB / 0.9541 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000916/0.8538, allocations: 0.5734 MB / 0.9546 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of SimCode: time 9.62e-07/0.8538, allocations: 0 / 0.9546 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08521/0.939, allocations: 37.06 MB / 0.9908 GB, free: 7.555 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/14.56, allocations: 4 kB / 0.9908 GB, free: 7.551 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=50 --tolerance=1e-06 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.412509352900088] Failed to read output from testmodel.py, exit status != 0: 14.796647544950247 14.824181365 14.061582079 Calling exit ...