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.001667/0.001667, allocations: 109.2 kB / 20.48 MB, free: 1.473 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.002096/0.002096, allocations: 213.7 kB / 23.79 MB, free: 4.68 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.407/1.407, allocations: 230.6 MB / 257.6 MB, free: 7.988 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.909/0.909, allocations: 150 MB / 463.9 MB, free: 10.48 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="cs",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.001895/0.001895, allocations: 70.59 kB / 0.642 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1745, allocations: 89.17 MB / 0.7291 GB, free: 1.238 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5665/0.7409, allocations: 180.6 MB / 0.9055 GB, free: 2.68 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02059/0.7615, allocations: 13.15 MB / 0.9183 GB, free: 5.492 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001787/0.7633, allocations: 47.69 kB / 0.9183 GB, free: 5.445 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001969/0.7653, allocations: 488.3 kB / 0.9188 GB, free: 4.965 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004353/0.7696, allocations: 1.074 MB / 0.9199 GB, free: 3.891 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.006451/0.7761, allocations: 1.95 MB / 0.9218 GB, free: 1.949 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004164/0.7803, allocations: 2.563 MB / 0.9243 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002226/0.7825, allocations: 1.291 MB / 0.9255 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004699/0.7872, allocations: 1.655 MB / 0.9271 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001618/0.7888, allocations: 0.9064 MB / 0.928 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0003704/0.7892, allocations: 176 kB / 0.9282 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003421/0.7926, allocations: 1.525 MB / 0.9297 GB, free: 9.797 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0005838/0.7932, allocations: 0.4984 MB / 0.9302 GB, free: 9.297 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001112/0.7943, allocations: 0.8825 MB / 0.931 GB, free: 8.41 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.005082/0.7994, allocations: 2.861 MB / 0.9338 GB, free: 5.539 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.7994, allocations: 0 / 0.9338 GB, free: 5.539 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7994, allocations: 0 / 0.9338 GB, free: 5.539 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.32e-05/0.7994, allocations: 0 / 0.9338 GB, free: 5.539 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.004011/0.8034, allocations: 2.035 MB / 0.9358 GB, free: 3.457 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.8035, allocations: 8.031 kB / 0.9358 GB, free: 3.449 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.874e-05/0.8035, allocations: 38.72 kB / 0.9359 GB, free: 3.41 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002533/0.8038, allocations: 210.6 kB / 0.9361 GB, free: 3.195 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003246/0.807, allocations: 470.4 kB / 0.9365 GB, free: 2.734 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001941/0.809, allocations: 0.9594 MB / 0.9374 GB, free: 1.75 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.482e-05/0.809, allocations: 102.7 kB / 0.9375 GB, free: 1.648 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001944/0.8092, allocations: 140 kB / 0.9377 GB, free: 1.512 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002741/0.812, allocations: 1.513 MB / 0.9392 GB, free: 15.92 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.812, allocations: 0 / 0.9392 GB, free: 15.92 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001412/0.8121, allocations: 67.98 kB / 0.9392 GB, free: 15.85 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.545e-05/0.8122, allocations: 39.92 kB / 0.9393 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002779/0.815, allocations: 1.583 MB / 0.9408 GB, free: 14.22 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.007959/0.8229, allocations: 5.349 MB / 0.946 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002517/0.8254, allocations: 1.142 MB / 0.9471 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008586/0.8263, allocations: 439.6 kB / 0.9476 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000614/0.8269, allocations: 128.8 kB / 0.9477 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00132/0.8282, allocations: 0.6958 MB / 0.9484 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=107): time 2.485e-06/0.8282, allocations: 0 / 0.9484 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=107): time 0.004485/0.8327, allocations: 1.598 MB / 0.9499 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/0.8329, allocations: 196.9 kB / 0.9501 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001515/0.8344, allocations: 0.9206 MB / 0.951 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000139/0.8345, allocations: 49.7 kB / 0.9511 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006045/0.8351, allocations: 0.6142 MB / 0.9517 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003701/0.8355, allocations: 364.9 kB / 0.952 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003391/0.8358, allocations: 194.5 kB / 0.9522 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.836, allocations: 345.9 kB / 0.9525 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007896/0.8368, allocations: 373.8 kB / 0.9529 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001/0.8378, allocations: 0.5632 MB / 0.9534 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001823/0.8396, allocations: 0.941 MB / 0.9543 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.8396, allocations: 0 / 0.9543 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002875/0.8425, allocations: 1.189 MB / 0.9555 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.8425, allocations: 8.031 kB / 0.9555 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.8425, allocations: 7.984 kB / 0.9555 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006024/0.8431, allocations: 80.78 kB / 0.9556 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.8442, allocations: 247.7 kB / 0.9558 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002294/0.8465, allocations: 1.56 MB / 0.9574 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.8477, allocations: 133.2 kB / 0.9575 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.924e-05/0.8478, allocations: 39.98 kB / 0.9575 GB, free: 12.41 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.0007074/0.8485, allocations: 342.3 kB / 0.9578 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002845/0.8488, allocations: 135.2 kB / 0.958 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00329/0.8521, allocations: 1.431 MB / 0.9594 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.8521, allocations: 12 kB / 0.9594 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.8521, allocations: 4 kB / 0.9594 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.8521, allocations: 3.984 kB / 0.9594 GB, free: 10.47 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.005369/0.8575, allocations: 2.868 MB / 0.9622 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.8575, allocations: 3.938 kB / 0.9622 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009999/0.8585, allocations: 215.8 kB / 0.9624 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004562/0.8589, allocations: 80.72 kB / 0.9625 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9e-05/0.859, allocations: 31.97 kB / 0.9625 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002204/0.8612, allocations: 1.563 MB / 0.964 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.8612, allocations: 0 / 0.964 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002978/0.8642, allocations: 1.338 MB / 0.9653 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007852/0.865, allocations: 294.6 kB / 0.9656 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002668/0.8652, allocations: 23.98 kB / 0.9656 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.8663, allocations: 81.3 kB / 0.9657 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/0.8665, allocations: 92.83 kB / 0.9658 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001296/0.8666, allocations: 51.97 kB / 0.9659 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001073/0.8677, allocations: 0.635 MB / 0.9665 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.8677, allocations: 0 / 0.9665 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001513/0.8692, allocations: 0.4987 MB / 0.967 GB, free: 2.48 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.005557/0.8748, allocations: 2.486 MB / 0.9694 GB, free: 180 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002602/0.8774, allocations: 1.074 MB / 0.9704 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.8774, allocations: 0 / 0.9704 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001358/0.8787, allocations: 0.6446 MB / 0.9711 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002675/0.8814, allocations: 0.5216 MB / 0.9716 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01743/0.8988, allocations: 9.02 MB / 0.9804 GB, free: 4.711 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/0.9, allocations: 1.217 MB / 0.9816 GB, free: 3.461 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001485/0.9014, allocations: 394.1 kB / 0.982 GB, free: 3.074 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/0.9025, allocations: 0.5773 MB / 0.9825 GB, free: 2.496 MB / 0.7481 GB Notification: Performance of SimCode: time 1.443e-06/0.9025, allocations: 0 / 0.9825 GB, free: 2.496 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1013/1.004, allocations: 35.28 MB / 1.017 GB, free: 15.56 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 15/16.01, allocations: 4.062 kB / 1.017 GB, free: 15.56 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 & /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 os._exit(0), Time elapsed: 20.08085193100851] Failed to read output from testmodel.py, exit status != 0: 16.297283897001762 16.322690142 15.519133042 Calling exit ...