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.001803/0.001803, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001456/0.001456, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.465/1.465, allocations: 230.6 MB / 256 MB, free: 7.789 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.8274/0.8274, allocations: 134 MB / 446.4 MB, free: 9.934 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",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.001981/0.001981, allocations: 70.23 kB / 0.6185 GB, free: 6.902 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1738, allocations: 85.91 MB / 0.7024 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5417/0.7154, allocations: 155.2 MB / 0.8539 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01817/0.7336, allocations: 11.87 MB / 0.8655 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001247/0.7348, allocations: 39.69 kB / 0.8656 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001626/0.7365, allocations: 436.7 kB / 0.866 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00331/0.7398, allocations: 0.9767 MB / 0.8669 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005612/0.7454, allocations: 1.87 MB / 0.8688 GB, free: 8.855 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003906/0.7493, allocations: 2.314 MB / 0.871 GB, free: 6.539 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002794/0.7521, allocations: 1.263 MB / 0.8722 GB, free: 5.234 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004864/0.7569, allocations: 1.427 MB / 0.8736 GB, free: 3.844 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001678/0.7586, allocations: 0.7581 MB / 0.8744 GB, free: 3.082 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0006018/0.7592, allocations: 164 kB / 0.8745 GB, free: 2.922 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003353/0.7626, allocations: 1.283 MB / 0.8758 GB, free: 1.637 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001091/0.7637, allocations: 474.5 kB / 0.8762 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001843/0.7655, allocations: 0.6532 MB / 0.8769 GB, free: 0.5156 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004786/0.7703, allocations: 2.688 MB / 0.8795 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.7703, allocations: 0 / 0.8795 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7703, allocations: 0 / 0.8795 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.005e-05/0.7703, allocations: 3.938 kB / 0.8795 GB, free: 13.82 MB / 0.6544 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.003427/0.7738, allocations: 1.903 MB / 0.8814 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.7738, allocations: 12.62 kB / 0.8814 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002391/0.774, allocations: 198.3 kB / 0.8816 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003061/0.7771, allocations: 458.4 kB / 0.882 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001898/0.779, allocations: 0.932 MB / 0.8829 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.7791, allocations: 98.61 kB / 0.883 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001909/0.7793, allocations: 128.6 kB / 0.8831 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003014/0.7823, allocations: 1.97 MB / 0.8851 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/0.7824, allocations: 0 / 0.8851 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000199/0.7826, allocations: 60 kB / 0.8851 GB, free: 7.801 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.861e-05/0.7826, allocations: 32 kB / 0.8851 GB, free: 7.77 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002778/0.7854, allocations: 1.485 MB / 0.8866 GB, free: 6.277 MB / 0.6544 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.007253/0.7926, allocations: 3.843 MB / 0.8903 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002406/0.795, allocations: 1.059 MB / 0.8914 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008629/0.7959, allocations: 411.6 kB / 0.8918 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006244/0.7965, allocations: 120.8 kB / 0.8919 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001436/0.7979, allocations: 0.977 MB / 0.8928 GB, free: 15.68 MB / 0.67 GB Notification: Performance of pre-optimization done (n=98): time 3.156e-06/0.7979, allocations: 0 / 0.8928 GB, free: 15.68 MB / 0.67 GB Notification: Performance of matching and sorting (n=98): time 0.004253/0.8022, allocations: 1.463 MB / 0.8943 GB, free: 14.21 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001477/0.8023, allocations: 200.9 kB / 0.8945 GB, free: 13.97 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/0.8038, allocations: 0.8827 MB / 0.8953 GB, free: 13.06 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.00011/0.8039, allocations: 45.7 kB / 0.8954 GB, free: 13.01 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006077/0.8045, allocations: 0.5907 MB / 0.8959 GB, free: 12.41 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003463/0.8049, allocations: 345.1 kB / 0.8963 GB, free: 12.07 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002957/0.8051, allocations: 182.6 kB / 0.8964 GB, free: 11.89 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.8053, allocations: 338 kB / 0.8968 GB, free: 11.55 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000735/0.806, allocations: 345.8 kB / 0.8971 GB, free: 11.22 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.8071, allocations: 0.7038 MB / 0.8978 GB, free: 10.41 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001713/0.8088, allocations: 0.8746 MB / 0.8986 GB, free: 9.492 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.8088, allocations: 4 kB / 0.8986 GB, free: 9.488 MB / 0.67 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002683/0.8115, allocations: 1.11 MB / 0.8997 GB, free: 8.363 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.8116, allocations: 8 kB / 0.8997 GB, free: 8.355 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.8116, allocations: 4 kB / 0.8997 GB, free: 8.352 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006321/0.8122, allocations: 89.14 kB / 0.8998 GB, free: 8.262 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.8133, allocations: 227.7 kB / 0.9 GB, free: 8.039 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/0.8155, allocations: 1.539 MB / 0.9015 GB, free: 6.379 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009135/0.8164, allocations: 119.2 kB / 0.9017 GB, free: 6.262 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.001e-05/0.8165, allocations: 39.98 kB / 0.9017 GB, free: 6.223 MB / 0.67 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.0006731/0.8172, allocations: 332.3 kB / 0.902 GB, free: 5.891 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002478/0.8174, allocations: 119.2 kB / 0.9021 GB, free: 5.773 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003125/0.8205, allocations: 1.344 MB / 0.9034 GB, free: 4.418 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/0.8205, allocations: 15.94 kB / 0.9035 GB, free: 4.402 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.8206, allocations: 0 / 0.9035 GB, free: 4.402 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.8206, allocations: 3.984 kB / 0.9035 GB, free: 4.398 MB / 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 postOpt removeSimpleEquations (simulation): time 0.004664/0.8252, allocations: 2.411 MB / 0.9058 GB, free: 1.934 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.8252, allocations: 0 / 0.9058 GB, free: 1.934 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009448/0.8262, allocations: 211.8 kB / 0.906 GB, free: 1.727 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004497/0.8266, allocations: 76.73 kB / 0.9061 GB, free: 1.648 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.411e-05/0.8267, allocations: 27.97 kB / 0.9061 GB, free: 1.621 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002093/0.8288, allocations: 1.566 MB / 0.9076 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.8288, allocations: 0 / 0.9076 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00271/0.8315, allocations: 1.237 MB / 0.9089 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006902/0.8322, allocations: 266.8 kB / 0.9091 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/0.8324, allocations: 35.94 kB / 0.9091 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008038/0.8332, allocations: 63.94 kB / 0.9092 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/0.8333, allocations: 80.78 kB / 0.9093 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.861e-05/0.8334, allocations: 43.97 kB / 0.9093 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001003/0.8344, allocations: 0.6103 MB / 0.9099 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8344, allocations: 0 / 0.9099 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001442/0.8359, allocations: 466.8 kB / 0.9104 GB, free: 13.12 MB / 0.6856 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.005179/0.8411, allocations: 2.401 MB / 0.9127 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002326/0.8434, allocations: 1.004 MB / 0.9137 GB, free: 9.922 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.8434, allocations: 4 kB / 0.9137 GB, free: 9.918 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0012/0.8446, allocations: 0.5977 MB / 0.9143 GB, free: 9.309 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002321/0.8469, allocations: 0.5047 MB / 0.9148 GB, free: 8.82 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01629/0.8632, allocations: 8.622 MB / 0.9232 GB, free: 0 / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007379/0.8639, allocations: 0.597 MB / 0.9238 GB, free: 15.37 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001388/0.8653, allocations: 377.5 kB / 0.9241 GB, free: 15 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007925/0.8661, allocations: 0.5305 MB / 0.9246 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of SimCode: time 1.092e-06/0.8661, allocations: 0 / 0.9246 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08158/0.9477, allocations: 34.83 MB / 0.9587 GB, free: 12 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.12/15.07, allocations: 4 kB / 0.9587 GB, free: 12 MB / 0.7325 GB " [Timeout remaining time 645] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.932107742875814] Failed to read output from testmodel.py, exit status != 0: 15.303004268091172 15.318826172 14.545425671 Calling exit ...