Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001337/0.001337, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001491/0.001491, allocations: 213.9 kB / 23.04 MB, free: 5.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.411/1.411, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8159/0.8159, allocations: 134 MB / 447.2 MB, free: 10.25 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001858/0.001858, allocations: 65.73 kB / 0.6193 GB, free: 7.246 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1803, allocations: 85.91 MB / 0.7032 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5944/0.7747, allocations: 179.6 MB / 0.8786 GB, free: 3.066 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01925/0.7939, allocations: 12.97 MB / 0.8913 GB, free: 6.059 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001118/0.795, allocations: 43.62 kB / 0.8913 GB, free: 6.016 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.7964, allocations: 452.7 kB / 0.8917 GB, free: 5.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00296/0.7994, allocations: 0.9709 MB / 0.8927 GB, free: 4.598 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004906/0.8043, allocations: 1.903 MB / 0.8945 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003538/0.8078, allocations: 2.322 MB / 0.8968 GB, free: 380 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002162/0.81, allocations: 1.286 MB / 0.8981 GB, free: 15.04 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004521/0.8145, allocations: 1.437 MB / 0.8995 GB, free: 13.64 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001473/0.816, allocations: 0.8518 MB / 0.9003 GB, free: 12.79 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002713/0.8162, allocations: 164 kB / 0.9004 GB, free: 12.63 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003403/0.8196, allocations: 1.509 MB / 0.9019 GB, free: 11.12 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005145/0.8201, allocations: 478.5 kB / 0.9024 GB, free: 10.65 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0009861/0.8211, allocations: 0.8046 MB / 0.9032 GB, free: 9.84 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004578/0.8257, allocations: 2.709 MB / 0.9058 GB, free: 7.125 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.8257, allocations: 3.938 kB / 0.9058 GB, free: 7.121 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.993e-06/0.8257, allocations: 0 / 0.9058 GB, free: 7.121 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.834e-05/0.8257, allocations: 0 / 0.9058 GB, free: 7.121 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.003629/0.8294, allocations: 1.911 MB / 0.9077 GB, free: 5.168 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.8294, allocations: 8.625 kB / 0.9077 GB, free: 5.16 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.036e-05/0.8295, allocations: 38.62 kB / 0.9077 GB, free: 5.121 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000244/0.8297, allocations: 202.3 kB / 0.9079 GB, free: 4.914 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003145/0.8329, allocations: 454.5 kB / 0.9083 GB, free: 4.469 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00178/0.8346, allocations: 0.9282 MB / 0.9093 GB, free: 3.516 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.736e-05/0.8347, allocations: 94.62 kB / 0.9093 GB, free: 3.422 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/0.8349, allocations: 128 kB / 0.9095 GB, free: 3.297 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002676/0.8376, allocations: 1.464 MB / 0.9109 GB, free: 1.754 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/0.8376, allocations: 0 / 0.9109 GB, free: 1.754 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/0.8377, allocations: 60 kB / 0.911 GB, free: 1.695 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-05/0.8378, allocations: 35.94 kB / 0.911 GB, free: 1.66 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002808/0.8406, allocations: 1.536 MB / 0.9125 GB, free: 120 kB / 0.67 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.007725/0.8483, allocations: 4.819 MB / 0.9172 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002316/0.8506, allocations: 1.067 MB / 0.9182 GB, free: 9.961 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008408/0.8515, allocations: 411.6 kB / 0.9186 GB, free: 9.555 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005848/0.8521, allocations: 124.9 kB / 0.9187 GB, free: 9.434 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001185/0.8532, allocations: 0.6161 MB / 0.9193 GB, free: 8.801 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=98): time 2.444e-06/0.8532, allocations: 0 / 0.9193 GB, free: 8.801 MB / 0.6856 GB Notification: Performance of matching and sorting (n=98): time 0.004221/0.8575, allocations: 1.469 MB / 0.9208 GB, free: 7.324 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001373/0.8576, allocations: 192.9 kB / 0.921 GB, free: 7.09 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.8589, allocations: 0.879 MB / 0.9218 GB, free: 6.188 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.551e-05/0.859, allocations: 41.7 kB / 0.9219 GB, free: 6.141 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000556/0.8596, allocations: 0.5907 MB / 0.9224 GB, free: 5.543 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003348/0.8599, allocations: 345 kB / 0.9228 GB, free: 5.203 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003102/0.8602, allocations: 182.6 kB / 0.9229 GB, free: 5.02 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.8604, allocations: 341.9 kB / 0.9233 GB, free: 4.68 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007287/0.8611, allocations: 345.8 kB / 0.9236 GB, free: 4.344 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/0.8623, allocations: 0.528 MB / 0.9241 GB, free: 3.75 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002562/0.8649, allocations: 0.8785 MB / 0.925 GB, free: 2.832 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.8649, allocations: 0 / 0.925 GB, free: 2.832 MB / 0.6856 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.004116/0.869, allocations: 1.114 MB / 0.9261 GB, free: 1.707 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.869, allocations: 4 kB / 0.9261 GB, free: 1.703 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.8691, allocations: 8.344 kB / 0.9261 GB, free: 1.695 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009111/0.87, allocations: 88.77 kB / 0.9262 GB, free: 1.605 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001718/0.8717, allocations: 231.7 kB / 0.9264 GB, free: 1.379 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003268/0.875, allocations: 1.554 MB / 0.9279 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/0.8764, allocations: 125.8 kB / 0.928 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/0.8765, allocations: 43.97 kB / 0.9281 GB, free: 15.54 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: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 110 * 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.0009559/0.8775, allocations: 321.6 kB / 0.9284 GB, free: 15.22 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003704/0.8778, allocations: 123.2 kB / 0.9285 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004953/0.8828, allocations: 1.338 MB / 0.9298 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/0.8828, allocations: 12 kB / 0.9298 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.8828, allocations: 0 / 0.9298 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.688e-05/0.8828, allocations: 3.984 kB / 0.9298 GB, free: 13.73 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.007869/0.8907, allocations: 2.668 MB / 0.9324 GB, free: 10.99 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.8907, allocations: 0 / 0.9324 GB, free: 10.99 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001669/0.8924, allocations: 219.7 kB / 0.9326 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000694/0.8931, allocations: 72.78 kB / 0.9327 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001316/0.8932, allocations: 35.91 kB / 0.9327 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00329/0.8965, allocations: 1.578 MB / 0.9343 GB, free: 8.961 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.8965, allocations: 0 / 0.9343 GB, free: 8.961 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004578/0.9011, allocations: 1.229 MB / 0.9355 GB, free: 7.711 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/0.9022, allocations: 278.7 kB / 0.9357 GB, free: 7.438 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003841/0.9025, allocations: 20 kB / 0.9357 GB, free: 7.418 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001614/0.9042, allocations: 75.88 kB / 0.9358 GB, free: 7.344 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000244/0.9044, allocations: 76.84 kB / 0.9359 GB, free: 7.27 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001886/0.9046, allocations: 47.91 kB / 0.9359 GB, free: 7.223 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001658/0.9062, allocations: 0.6103 MB / 0.9365 GB, free: 6.602 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9062, allocations: 0 / 0.9365 GB, free: 6.602 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002237/0.9085, allocations: 462.7 kB / 0.937 GB, free: 6.148 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: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.008248/0.9167, allocations: 2.368 MB / 0.9393 GB, free: 3.969 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003886/0.9206, allocations: 1.004 MB / 0.9403 GB, free: 2.949 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/0.9206, allocations: 4 kB / 0.9403 GB, free: 2.945 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002059/0.9227, allocations: 0.5977 MB / 0.9409 GB, free: 2.336 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004023/0.9267, allocations: 0.5053 MB / 0.9414 GB, free: 1.848 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02669/0.9534, allocations: 8.623 MB / 0.9498 GB, free: 9.02 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001652/0.9551, allocations: 1.186 MB / 0.9509 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002354/0.9574, allocations: 377.4 kB / 0.9513 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001327/0.9587, allocations: 0.5383 MB / 0.9518 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of SimCode: time 9.22e-07/0.9587, allocations: 0 / 0.9518 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08285/1.042, allocations: 33.2 MB / 0.9842 GB, free: 5.949 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.8/15.84, allocations: 6.641 kB / 0.9842 GB, free: 5.945 MB / 0.7481 GB " [Timeout remaining time 644] (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.70497025793884] Failed to read output from testmodel.py, exit status != 0: 16.130534279043786 16.153358839 15.323351164 Calling exit ...