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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 198.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7711/0.7711, allocations: 132.2 MB / 422.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 68.39 kB / 0.5019 GB, free: 3.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3685, allocations: 80.19 MB / 0.5802 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1936/0.5621, allocations: 175.8 MB / 0.7519 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01877/0.5809, allocations: 12.64 MB / 0.7642 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001785/0.5827, allocations: 31.81 kB / 0.7643 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001794/0.5845, allocations: 432.7 kB / 0.7647 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003675/0.5883, allocations: 0.9355 MB / 0.7656 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005585/0.5939, allocations: 1.807 MB / 0.7673 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003246/0.5972, allocations: 2.272 MB / 0.7696 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002549/0.5997, allocations: 1.59 MB / 0.7711 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003782/0.6035, allocations: 1.352 MB / 0.7724 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001354/0.6049, allocations: 0.809 MB / 0.7732 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004311/0.6053, allocations: 160 kB / 0.7734 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00301/0.6084, allocations: 1.384 MB / 0.7747 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005741/0.6089, allocations: 462.6 kB / 0.7752 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001339/0.6103, allocations: 0.8085 MB / 0.776 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004407/0.6147, allocations: 2.582 MB / 0.7785 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.146e-06/0.6147, allocations: 3.984 kB / 0.7785 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6148, allocations: 0 / 0.7785 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.265e-05/0.6149, allocations: 0 / 0.7785 GB, free: 5.762 MB / 0.6075 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.005108/0.62, allocations: 1.899 MB / 0.7803 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.62, allocations: 12.03 kB / 0.7804 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004605/0.6205, allocations: 198.3 kB / 0.7805 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003416/0.6239, allocations: 405.5 kB / 0.7809 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001556/0.6255, allocations: 0.9489 MB / 0.7819 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.011e-05/0.6256, allocations: 98.62 kB / 0.7819 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/0.6258, allocations: 124 kB / 0.7821 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002609/0.6284, allocations: 1.468 MB / 0.7835 GB, free: 444 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.284e-05/0.6284, allocations: 0 / 0.7835 GB, free: 444 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/0.6286, allocations: 52 kB / 0.7835 GB, free: 392 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.134e-05/0.6287, allocations: 39.94 kB / 0.7836 GB, free: 352 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002494/0.6312, allocations: 1.536 MB / 0.7851 GB, free: 14.8 MB / 0.6231 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.00669/0.6379, allocations: 4.926 MB / 0.7899 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002424/0.6403, allocations: 1.426 MB / 0.7913 GB, free: 8.102 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007621/0.6411, allocations: 445.8 kB / 0.7917 GB, free: 7.668 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007327/0.6418, allocations: 429.4 kB / 0.7921 GB, free: 7.172 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001097/0.6429, allocations: 0.6161 MB / 0.7927 GB, free: 6.543 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=98): time 2.655e-06/0.6429, allocations: 0 / 0.7927 GB, free: 6.543 MB / 0.6231 GB Notification: Performance of matching and sorting (n=98): time 0.004041/0.647, allocations: 1.536 MB / 0.7942 GB, free: 4.98 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.6471, allocations: 196.9 kB / 0.7944 GB, free: 4.746 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.6483, allocations: 0.8504 MB / 0.7952 GB, free: 3.871 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.938e-05/0.6484, allocations: 45.7 kB / 0.7953 GB, free: 3.82 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004647/0.6488, allocations: 0.5739 MB / 0.7958 GB, free: 3.238 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002706/0.6491, allocations: 327.2 kB / 0.7962 GB, free: 2.914 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002908/0.6494, allocations: 190.4 kB / 0.7963 GB, free: 2.723 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.6496, allocations: 341.9 kB / 0.7967 GB, free: 2.383 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000717/0.6503, allocations: 349.8 kB / 0.797 GB, free: 2.039 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008294/0.6511, allocations: 0.5202 MB / 0.7975 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/0.6527, allocations: 0.8824 MB / 0.7984 GB, free: 0.5312 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.6527, allocations: 4 kB / 0.7984 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00255/0.6552, allocations: 1.106 MB / 0.7995 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.6553, allocations: 12.09 kB / 0.7995 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.6553, allocations: 4 kB / 0.7995 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005855/0.6559, allocations: 76.78 kB / 0.7995 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.6569, allocations: 227.7 kB / 0.7998 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/0.6589, allocations: 1.65 MB / 0.8014 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009098/0.6598, allocations: 117 kB / 0.8015 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.566e-05/0.6599, allocations: 48.03 kB / 0.8015 GB, free: 13.14 MB / 0.6387 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.0005589/0.6605, allocations: 332.3 kB / 0.8018 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002187/0.6607, allocations: 114.6 kB / 0.802 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002914/0.6636, allocations: 1.33 MB / 0.8033 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.6637, allocations: 16.08 kB / 0.8033 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.6637, allocations: 0 / 0.8033 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.6637, allocations: 11.97 kB / 0.8033 GB, free: 11.32 MB / 0.6387 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.004322/0.668, allocations: 2.697 MB / 0.8059 GB, free: 8.539 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.668, allocations: 0 / 0.8059 GB, free: 8.539 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009828/0.669, allocations: 211.7 kB / 0.8061 GB, free: 8.332 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004526/0.6695, allocations: 76.78 kB / 0.8062 GB, free: 8.254 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.484e-05/0.6696, allocations: 35.86 kB / 0.8062 GB, free: 8.219 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001898/0.6715, allocations: 1.67 MB / 0.8079 GB, free: 6.406 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.6715, allocations: 4.062 kB / 0.8079 GB, free: 6.402 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002518/0.674, allocations: 1.218 MB / 0.809 GB, free: 5.168 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005242/0.6746, allocations: 339.2 kB / 0.8094 GB, free: 4.816 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/0.6747, allocations: 20 kB / 0.8094 GB, free: 4.797 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008431/0.6756, allocations: 83.8 kB / 0.8095 GB, free: 4.715 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.6757, allocations: 72.89 kB / 0.8095 GB, free: 4.641 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.487e-05/0.6758, allocations: 43.97 kB / 0.8096 GB, free: 4.598 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008494/0.6767, allocations: 0.5864 MB / 0.8102 GB, free: 4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6767, allocations: 4 kB / 0.8102 GB, free: 3.996 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001351/0.6781, allocations: 454.9 kB / 0.8106 GB, free: 3.551 MB / 0.6387 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.00456/0.6826, allocations: 2.373 MB / 0.8129 GB, free: 1.367 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003128/0.6858, allocations: 1.324 MB / 0.8142 GB, free: 32 kB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/0.6858, allocations: 4 kB / 0.8142 GB, free: 28 kB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.2517/0.9375, allocations: 0.6297 MB / 0.8148 GB, free: 219.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002332/0.9399, allocations: 0.5117 MB / 0.8153 GB, free: 219.5 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01545/0.9554, allocations: 8.97 MB / 0.8241 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007924/0.9562, allocations: 1.179 MB / 0.8252 GB, free: 214.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001572/0.9578, allocations: 374.6 kB / 0.8256 GB, free: 214.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006559/0.9584, allocations: 0.5312 MB / 0.8261 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of SimCode: time 7.41e-07/0.9585, allocations: 2.312 kB / 0.8261 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06235/1.021, allocations: 31.67 MB / 0.857 GB, free: 193.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.84, allocations: 15.53 kB / 0.8571 GB, free: 193.6 MB / 0.6387 GB (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)