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.001767/0.001767, allocations: 104.3 kB / 20.48 MB, free: 1.383 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.002075/0.002075, allocations: 213.9 kB / 23.78 MB, free: 4.555 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.397/1.397, allocations: 230.6 MB / 257.6 MB, free: 7.801 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.9432/0.9432, allocations: 150 MB / 464 MB, free: 10.25 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.001918/0.001918, allocations: 66.5 kB / 0.642 GB, free: 9.934 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1725, allocations: 89.17 MB / 0.729 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5484/0.7209, allocations: 155.9 MB / 0.8813 GB, free: 9.113 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01797/0.7388, allocations: 12.04 MB / 0.893 GB, free: 13.04 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0016/0.7404, allocations: 43.62 kB / 0.8931 GB, free: 13 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001379/0.7418, allocations: 472.4 kB / 0.8935 GB, free: 12.54 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003787/0.7456, allocations: 1.074 MB / 0.8946 GB, free: 11.46 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005194/0.7508, allocations: 1.905 MB / 0.8964 GB, free: 9.566 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003325/0.7541, allocations: 2.56 MB / 0.8989 GB, free: 6.996 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001894/0.756, allocations: 1.299 MB / 0.9002 GB, free: 5.637 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004364/0.7604, allocations: 1.647 MB / 0.9018 GB, free: 4.027 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001296/0.7617, allocations: 0.9025 MB / 0.9027 GB, free: 3.121 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002661/0.7619, allocations: 180 kB / 0.9029 GB, free: 2.945 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002648/0.7646, allocations: 1.31 MB / 0.9041 GB, free: 1.633 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000481/0.7651, allocations: 0.4946 MB / 0.9046 GB, free: 1.137 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008152/0.7659, allocations: 0.7233 MB / 0.9053 GB, free: 420 kB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003888/0.7698, allocations: 2.849 MB / 0.9081 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.7698, allocations: 0 / 0.9081 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7698, allocations: 0 / 0.9081 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.655e-05/0.7698, allocations: 0 / 0.9081 GB, free: 13.55 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.003691/0.7735, allocations: 2.028 MB / 0.9101 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.7735, allocations: 12.03 kB / 0.9101 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.672e-05/0.7736, allocations: 34.72 kB / 0.9101 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002478/0.7738, allocations: 206.7 kB / 0.9103 GB, free: 11.22 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003258/0.7771, allocations: 470.4 kB / 0.9108 GB, free: 10.76 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/0.7788, allocations: 0.971 MB / 0.9117 GB, free: 9.762 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.833e-05/0.7789, allocations: 98.72 kB / 0.9118 GB, free: 9.664 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001937/0.7791, allocations: 132 kB / 0.912 GB, free: 9.535 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003043/0.7821, allocations: 2.026 MB / 0.9139 GB, free: 7.309 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.838e-05/0.7822, allocations: 4 kB / 0.9139 GB, free: 7.305 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/0.7823, allocations: 56 kB / 0.914 GB, free: 7.25 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.962e-05/0.7823, allocations: 41.38 kB / 0.914 GB, free: 7.211 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002797/0.7851, allocations: 1.583 MB / 0.9156 GB, free: 5.621 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.006832/0.792, allocations: 3.977 MB / 0.9195 GB, free: 1.547 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002478/0.7944, allocations: 1.144 MB / 0.9206 GB, free: 412 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008756/0.7953, allocations: 443.7 kB / 0.921 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006176/0.7959, allocations: 116.9 kB / 0.9211 GB, free: 15.85 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001522/0.7975, allocations: 1.043 MB / 0.9221 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=107): time 3.115e-06/0.7975, allocations: 0 / 0.9221 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of matching and sorting (n=107): time 0.004409/0.8019, allocations: 1.598 MB / 0.9237 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/0.802, allocations: 196.9 kB / 0.9239 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/0.8034, allocations: 0.9206 MB / 0.9248 GB, free: 11.92 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001086/0.8035, allocations: 53.64 kB / 0.9248 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005697/0.8041, allocations: 0.6141 MB / 0.9254 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003415/0.8044, allocations: 368.9 kB / 0.9258 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000333/0.8048, allocations: 194.6 kB / 0.926 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.8049, allocations: 341.9 kB / 0.9263 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007665/0.8057, allocations: 385.7 kB / 0.9267 GB, free: 9.965 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.8068, allocations: 0.735 MB / 0.9274 GB, free: 9.121 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001756/0.8085, allocations: 0.9312 MB / 0.9283 GB, free: 8.148 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.8085, allocations: 4 kB / 0.9283 GB, free: 8.145 MB / 0.7012 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002797/0.8113, allocations: 1.193 MB / 0.9295 GB, free: 6.945 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.8114, allocations: 8 kB / 0.9295 GB, free: 6.938 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.8114, allocations: 7.984 kB / 0.9295 GB, free: 6.93 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006181/0.812, allocations: 88.81 kB / 0.9296 GB, free: 6.84 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.8131, allocations: 243.7 kB / 0.9298 GB, free: 6.602 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002226/0.8153, allocations: 1.535 MB / 0.9313 GB, free: 4.945 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.8164, allocations: 135.8 kB / 0.9314 GB, free: 4.812 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.754e-05/0.8165, allocations: 47.97 kB / 0.9315 GB, free: 4.766 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.0007164/0.8172, allocations: 345.5 kB / 0.9318 GB, free: 4.418 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002747/0.8175, allocations: 127.8 kB / 0.9319 GB, free: 4.293 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003277/0.8208, allocations: 1.441 MB / 0.9333 GB, free: 2.844 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.8208, allocations: 12 kB / 0.9333 GB, free: 2.832 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.8208, allocations: 0 / 0.9333 GB, free: 2.832 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/0.8208, allocations: 7.969 kB / 0.9333 GB, free: 2.824 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.004968/0.8258, allocations: 2.569 MB / 0.9358 GB, free: 208 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.8258, allocations: 3.938 kB / 0.9358 GB, free: 204 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.8268, allocations: 219.7 kB / 0.9361 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004474/0.8272, allocations: 76.73 kB / 0.9361 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.812e-05/0.8273, allocations: 31.97 kB / 0.9362 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001955/0.8292, allocations: 1.551 MB / 0.9377 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.8292, allocations: 8.031 kB / 0.9377 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002778/0.832, allocations: 1.338 MB / 0.939 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006264/0.8327, allocations: 298.6 kB / 0.9393 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001743/0.8328, allocations: 28 kB / 0.9393 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000932/0.8338, allocations: 76.84 kB / 0.9394 GB, free: 12.44 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/0.8339, allocations: 88.83 kB / 0.9395 GB, free: 12.35 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/0.8341, allocations: 51.97 kB / 0.9395 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009208/0.835, allocations: 0.635 MB / 0.9401 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.835, allocations: 3.938 kB / 0.9401 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001254/0.8362, allocations: 0.4948 MB / 0.9406 GB, free: 11.16 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.005137/0.8414, allocations: 2.518 MB / 0.9431 GB, free: 8.859 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002364/0.8437, allocations: 1.074 MB / 0.9441 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.8437, allocations: 4 kB / 0.9441 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001236/0.845, allocations: 0.6328 MB / 0.9447 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002192/0.8472, allocations: 0.5384 MB / 0.9453 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01554/0.8627, allocations: 9.018 MB / 0.9541 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007045/0.8634, allocations: 0.6289 MB / 0.9547 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001315/0.8647, allocations: 386.1 kB / 0.9551 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008782/0.8656, allocations: 0.5773 MB / 0.9556 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of SimCode: time 9.62e-07/0.8656, allocations: 0 / 0.9556 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07917/0.9448, allocations: 36.87 MB / 0.9916 GB, free: 7.402 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.17/16.12, allocations: 12 kB / 0.9916 GB, free: 7.391 MB / 0.7637 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.08819396200124] Failed to read output from testmodel.py, exit status != 0: 16.40485420206096 16.419902959 15.647091308 Calling exit ...