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.001603/0.001603, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.001769/0.001769, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.44/1.44, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.8215/0.8215, allocations: 134 MB / 442.8 MB, free: 11.7 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.001855/0.001855, allocations: 66.31 kB / 0.6134 GB, free: 8.773 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.18, allocations: 85.85 MB / 0.6973 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.6115/0.7915, allocations: 179.3 MB / 0.8724 GB, free: 5.07 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01944/0.8109, allocations: 12.78 MB / 0.8849 GB, free: 8.246 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001453/0.8124, allocations: 43.62 kB / 0.8849 GB, free: 8.203 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001456/0.8138, allocations: 444.6 kB / 0.8853 GB, free: 7.766 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003037/0.8169, allocations: 0.976 MB / 0.8863 GB, free: 6.789 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005105/0.822, allocations: 1.854 MB / 0.8881 GB, free: 4.945 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003283/0.8253, allocations: 2.299 MB / 0.8903 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001986/0.8273, allocations: 1.324 MB / 0.8916 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003972/0.8312, allocations: 1.425 MB / 0.893 GB, free: 15.89 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/0.8324, allocations: 0.8402 MB / 0.8939 GB, free: 15.04 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002237/0.8326, allocations: 160 kB / 0.894 GB, free: 14.89 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003655/0.8362, allocations: 1.497 MB / 0.8955 GB, free: 13.39 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005029/0.8367, allocations: 474.5 kB / 0.8959 GB, free: 12.92 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0009648/0.8377, allocations: 0.8162 MB / 0.8967 GB, free: 12.1 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004812/0.8425, allocations: 2.688 MB / 0.8993 GB, free: 9.41 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.8425, allocations: 4 kB / 0.8993 GB, free: 9.406 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.224e-06/0.8425, allocations: 4 kB / 0.8993 GB, free: 9.402 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.91e-05/0.8425, allocations: 0 / 0.8993 GB, free: 9.402 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.003657/0.8462, allocations: 1.986 MB / 0.9013 GB, free: 7.355 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.8462, allocations: 9.109 kB / 0.9013 GB, free: 7.348 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002494/0.8465, allocations: 198.3 kB / 0.9015 GB, free: 7.145 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003223/0.8497, allocations: 466.4 kB / 0.9019 GB, free: 6.688 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001747/0.8515, allocations: 1.009 MB / 0.9029 GB, free: 5.637 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.904e-05/0.8515, allocations: 102.6 kB / 0.903 GB, free: 5.535 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001703/0.8517, allocations: 128 kB / 0.9031 GB, free: 5.41 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002587/0.8543, allocations: 1.454 MB / 0.9046 GB, free: 3.879 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.8543, allocations: 0 / 0.9046 GB, free: 3.879 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001329/0.8545, allocations: 67.94 kB / 0.9046 GB, free: 3.812 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.181e-05/0.8545, allocations: 32 kB / 0.9047 GB, free: 3.781 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002728/0.8572, allocations: 1.532 MB / 0.9061 GB, free: 2.242 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 preOpt removeSimpleEquations (simulation): time 0.007623/0.8648, allocations: 4.901 MB / 0.9109 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002554/0.8674, allocations: 1.368 MB / 0.9123 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008162/0.8682, allocations: 415.6 kB / 0.9127 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007768/0.869, allocations: 425.4 kB / 0.9131 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001168/0.8702, allocations: 0.6165 MB / 0.9137 GB, free: 10.1 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=98): time 4.488e-06/0.8702, allocations: 4 kB / 0.9137 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of matching and sorting (n=98): time 0.00425/0.8744, allocations: 1.538 MB / 0.9152 GB, free: 8.527 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001912/0.8746, allocations: 196.9 kB / 0.9154 GB, free: 8.293 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/0.8759, allocations: 0.8788 MB / 0.9162 GB, free: 7.391 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.973e-05/0.876, allocations: 45.7 kB / 0.9163 GB, free: 7.34 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005353/0.8765, allocations: 0.5907 MB / 0.9168 GB, free: 6.742 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003146/0.8768, allocations: 349 kB / 0.9172 GB, free: 6.398 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003011/0.8771, allocations: 178.6 kB / 0.9173 GB, free: 6.219 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.8773, allocations: 341.9 kB / 0.9177 GB, free: 5.879 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007393/0.878, allocations: 345.7 kB / 0.918 GB, free: 5.539 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009453/0.879, allocations: 0.5242 MB / 0.9185 GB, free: 4.953 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001862/0.8808, allocations: 0.8792 MB / 0.9194 GB, free: 4.031 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.8808, allocations: 0 / 0.9194 GB, free: 4.031 MB / 0.6856 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002776/0.8836, allocations: 1.114 MB / 0.9205 GB, free: 2.906 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.8836, allocations: 8 kB / 0.9205 GB, free: 2.898 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.8836, allocations: 0 / 0.9205 GB, free: 2.898 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006168/0.8843, allocations: 89.17 kB / 0.9206 GB, free: 2.809 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.8853, allocations: 227.7 kB / 0.9208 GB, free: 2.586 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002643/0.8879, allocations: 1.659 MB / 0.9224 GB, free: 0.7812 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009498/0.8889, allocations: 127.2 kB / 0.9225 GB, free: 0.6562 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.249e-05/0.889, allocations: 39.98 kB / 0.9226 GB, free: 0.6172 MB / 0.6856 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.0006748/0.8896, allocations: 328.2 kB / 0.9229 GB, free: 296 kB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002409/0.8899, allocations: 123.2 kB / 0.923 GB, free: 172 kB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003316/0.8932, allocations: 1.334 MB / 0.9243 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.8932, allocations: 12 kB / 0.9243 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.8932, allocations: 8 kB / 0.9243 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.8932, allocations: 3.984 kB / 0.9243 GB, free: 14.8 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.005037/0.8983, allocations: 2.707 MB / 0.927 GB, free: 12.01 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.8983, allocations: 0 / 0.927 GB, free: 12.01 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00099/0.8993, allocations: 215.7 kB / 0.9272 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004509/0.8997, allocations: 76.78 kB / 0.9272 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.787e-05/0.8998, allocations: 23.98 kB / 0.9273 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00209/0.9019, allocations: 1.674 MB / 0.9289 GB, free: 9.879 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.9019, allocations: 3.938 kB / 0.9289 GB, free: 9.875 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003035/0.9049, allocations: 1.237 MB / 0.9301 GB, free: 8.617 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006295/0.9055, allocations: 343.9 kB / 0.9304 GB, free: 8.262 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/0.9057, allocations: 20 kB / 0.9304 GB, free: 8.242 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008429/0.9065, allocations: 68.06 kB / 0.9305 GB, free: 8.176 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/0.9067, allocations: 80.83 kB / 0.9306 GB, free: 8.098 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001242/0.9068, allocations: 59.95 kB / 0.9306 GB, free: 8.039 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001018/0.9078, allocations: 0.6025 MB / 0.9312 GB, free: 7.426 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/0.9078, allocations: 0 / 0.9312 GB, free: 7.426 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001519/0.9094, allocations: 470.7 kB / 0.9317 GB, free: 6.965 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.005424/0.9148, allocations: 2.365 MB / 0.934 GB, free: 4.777 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002406/0.9172, allocations: 1.003 MB / 0.935 GB, free: 3.766 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.9172, allocations: 0 / 0.935 GB, free: 3.766 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001232/0.9184, allocations: 0.5981 MB / 0.9356 GB, free: 3.156 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0023/0.9207, allocations: 0.499 MB / 0.936 GB, free: 2.688 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01691/0.9376, allocations: 8.623 MB / 0.9445 GB, free: 9.855 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009063/0.9386, allocations: 1.178 MB / 0.9456 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001274/0.9398, allocations: 377.4 kB / 0.946 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008081/0.9406, allocations: 0.5422 MB / 0.9465 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of SimCode: time 1.183e-06/0.9406, allocations: 4 kB / 0.9465 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08906/1.03, allocations: 32.43 MB / 0.9782 GB, free: 7.602 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.66/14.69, allocations: 9.625 kB / 0.9782 GB, free: 7.594 MB / 0.7481 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.573256645002402] Failed to read output from testmodel.py, exit status != 0: 14.902255542008788 14.92717044 14.079997259 Calling exit ...