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.00123/0.00123, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001933/0.001933, allocations: 216.6 kB / 22.25 MB, free: 5.129 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 / 256 MB, free: 7.953 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.8218/0.8218, allocations: 134 MB / 446.4 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="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.001929/0.001929, allocations: 66.44 kB / 0.6185 GB, free: 7.219 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1727, allocations: 85.9 MB / 0.7024 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5824/0.7552, allocations: 179.6 MB / 0.8778 GB, free: 2.988 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01765/0.7728, allocations: 12.96 MB / 0.8905 GB, free: 5.984 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00145/0.7743, allocations: 43.62 kB / 0.8905 GB, free: 5.941 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001314/0.7756, allocations: 456.7 kB / 0.8909 GB, free: 5.492 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002714/0.7783, allocations: 0.9708 MB / 0.8919 GB, free: 4.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004588/0.7829, allocations: 1.91 MB / 0.8938 GB, free: 2.621 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003078/0.7859, allocations: 2.319 MB / 0.896 GB, free: 300 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002096/0.788, allocations: 1.285 MB / 0.8973 GB, free: 14.97 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004121/0.7922, allocations: 1.442 MB / 0.8987 GB, free: 13.56 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00131/0.7935, allocations: 0.8479 MB / 0.8995 GB, free: 12.71 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002565/0.7937, allocations: 164 kB / 0.8997 GB, free: 12.55 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002935/0.7967, allocations: 1.517 MB / 0.9012 GB, free: 11.03 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004538/0.7971, allocations: 478.5 kB / 0.9016 GB, free: 10.56 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008832/0.798, allocations: 0.8123 MB / 0.9024 GB, free: 9.746 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004129/0.8021, allocations: 2.699 MB / 0.905 GB, free: 7.043 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.8021, allocations: 0 / 0.905 GB, free: 7.043 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.466e-06/0.8021, allocations: 3.984 kB / 0.905 GB, free: 7.039 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.501e-05/0.8022, allocations: 0 / 0.905 GB, free: 7.039 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.003389/0.8056, allocations: 1.911 MB / 0.9069 GB, free: 5.086 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.8056, allocations: 12.56 kB / 0.9069 GB, free: 5.074 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002523/0.8059, allocations: 198.3 kB / 0.9071 GB, free: 4.871 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003168/0.809, allocations: 458.4 kB / 0.9075 GB, free: 4.422 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001861/0.8109, allocations: 0.9243 MB / 0.9084 GB, free: 3.473 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-05/0.811, allocations: 95.62 kB / 0.9085 GB, free: 3.379 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/0.8111, allocations: 132 kB / 0.9087 GB, free: 3.25 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002586/0.8137, allocations: 1.46 MB / 0.9101 GB, free: 1.711 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.8137, allocations: 3.938 kB / 0.9101 GB, free: 1.707 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/0.8139, allocations: 56 kB / 0.9101 GB, free: 1.652 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.976e-05/0.8139, allocations: 32 kB / 0.9102 GB, free: 1.621 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002614/0.8165, allocations: 1.536 MB / 0.9117 GB, free: 80 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.007849/0.8244, allocations: 4.819 MB / 0.9164 GB, free: 11 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00238/0.8267, allocations: 1.074 MB / 0.9174 GB, free: 9.926 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008184/0.8276, allocations: 419.6 kB / 0.9178 GB, free: 9.512 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006548/0.8282, allocations: 120.9 kB / 0.9179 GB, free: 9.395 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001261/0.8295, allocations: 0.6216 MB / 0.9186 GB, free: 8.754 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=98): time 2.786e-06/0.8295, allocations: 0 / 0.9186 GB, free: 8.754 MB / 0.6856 GB Notification: Performance of matching and sorting (n=98): time 0.004181/0.8337, allocations: 1.459 MB / 0.92 GB, free: 7.289 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001459/0.8338, allocations: 196.9 kB / 0.9202 GB, free: 7.051 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/0.8353, allocations: 0.8828 MB / 0.921 GB, free: 6.145 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.8354, allocations: 41.7 kB / 0.9211 GB, free: 6.098 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005795/0.836, allocations: 0.5907 MB / 0.9216 GB, free: 5.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003154/0.8363, allocations: 341 kB / 0.922 GB, free: 5.164 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002942/0.8366, allocations: 182.6 kB / 0.9221 GB, free: 4.98 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.8368, allocations: 341.9 kB / 0.9225 GB, free: 4.641 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007176/0.8375, allocations: 349.7 kB / 0.9228 GB, free: 4.301 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009223/0.8384, allocations: 0.5203 MB / 0.9233 GB, free: 3.715 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001622/0.84, allocations: 0.8785 MB / 0.9242 GB, free: 2.797 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.84, allocations: 8 kB / 0.9242 GB, free: 2.789 MB / 0.6856 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002641/0.8427, allocations: 1.11 MB / 0.9253 GB, free: 1.668 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.8427, allocations: 8.344 kB / 0.9253 GB, free: 1.66 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.8427, allocations: 8 kB / 0.9253 GB, free: 1.652 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006126/0.8433, allocations: 84.77 kB / 0.9254 GB, free: 1.566 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.8444, allocations: 231.7 kB / 0.9256 GB, free: 1.34 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00244/0.8468, allocations: 1.552 MB / 0.9271 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.8478, allocations: 123.1 kB / 0.9272 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.068e-05/0.8479, allocations: 43.92 kB / 0.9273 GB, free: 15.51 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.0006661/0.8486, allocations: 327.9 kB / 0.9276 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002473/0.8488, allocations: 123.3 kB / 0.9277 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003052/0.8519, allocations: 1.338 MB / 0.929 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.8519, allocations: 12 kB / 0.929 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.8519, allocations: 0 / 0.929 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-05/0.8519, allocations: 7.969 kB / 0.929 GB, free: 13.69 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.004947/0.8568, allocations: 2.668 MB / 0.9316 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.8568, allocations: 4 kB / 0.9316 GB, free: 10.94 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000978/0.8578, allocations: 215.7 kB / 0.9318 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004302/0.8582, allocations: 72.78 kB / 0.9319 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-05/0.8583, allocations: 27.98 kB / 0.9319 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002032/0.8603, allocations: 1.574 MB / 0.9335 GB, free: 8.93 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.8603, allocations: 3.938 kB / 0.9335 GB, free: 8.926 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002699/0.863, allocations: 1.237 MB / 0.9347 GB, free: 7.668 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006938/0.8637, allocations: 270.8 kB / 0.9349 GB, free: 7.402 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/0.8639, allocations: 16 kB / 0.9349 GB, free: 7.387 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008321/0.8647, allocations: 80.73 kB / 0.935 GB, free: 7.309 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/0.8649, allocations: 84.67 kB / 0.9351 GB, free: 7.227 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.865, allocations: 51.95 kB / 0.9352 GB, free: 7.176 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009184/0.8659, allocations: 0.6025 MB / 0.9357 GB, free: 6.562 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8659, allocations: 0 / 0.9357 GB, free: 6.562 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001211/0.8671, allocations: 462.8 kB / 0.9362 GB, free: 6.109 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.004974/0.8721, allocations: 2.361 MB / 0.9385 GB, free: 3.934 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002269/0.8744, allocations: 1.008 MB / 0.9395 GB, free: 2.91 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.8744, allocations: 0 / 0.9395 GB, free: 2.91 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001142/0.8755, allocations: 0.5977 MB / 0.9401 GB, free: 2.301 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002211/0.8777, allocations: 0.5158 MB / 0.9406 GB, free: 1.809 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01552/0.8932, allocations: 8.62 MB / 0.949 GB, free: 8.984 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008795/0.8941, allocations: 1.178 MB / 0.9501 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001368/0.8955, allocations: 377.4 kB / 0.9505 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008096/0.8963, allocations: 0.5422 MB / 0.951 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of SimCode: time 1.243e-06/0.8963, allocations: 0 / 0.951 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08057/0.9769, allocations: 33.16 MB / 0.9834 GB, free: 5.938 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.44/15.42, allocations: 13.23 kB / 0.9834 GB, free: 5.93 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 & 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: 19.23934128199471] Failed to read output from testmodel.py, exit status != 0: 15.651002564001828 15.676501379 14.869776887 Calling exit ...