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.005079/0.005079, allocations: 100.8 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001308/0.001309, allocations: 199 kB / 16.68 MB, free: 5.965 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.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8055/0.8055, allocations: 132.2 MB / 422.8 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002424/0.002424, allocations: 67.55 kB / 0.5809 GB, free: 1.262 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1875, allocations: 80.2 MB / 0.6592 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.6201/0.8077, allocations: 175.8 MB / 0.8309 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01513/0.8229, allocations: 12.64 MB / 0.8432 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001702/0.8246, allocations: 33.19 kB / 0.8432 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.826, allocations: 436.3 kB / 0.8437 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002823/0.8289, allocations: 0.9354 MB / 0.8446 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004772/0.8337, allocations: 1.816 MB / 0.8463 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004265/0.838, allocations: 2.288 MB / 0.8486 GB, free: 2.48 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002379/0.8404, allocations: 1.586 MB / 0.8501 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003765/0.8442, allocations: 1.35 MB / 0.8514 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001203/0.8454, allocations: 0.8075 MB / 0.8522 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002469/0.8456, allocations: 159.2 kB / 0.8524 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002666/0.8483, allocations: 1.412 MB / 0.8538 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003949/0.8487, allocations: 475 kB / 0.8542 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007314/0.8495, allocations: 0.7985 MB / 0.855 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003527/0.853, allocations: 2.655 MB / 0.8576 GB, free: 1.645 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.853, allocations: 0 / 0.8576 GB, free: 1.645 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.643e-06/0.853, allocations: 4.719 kB / 0.8576 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.655e-05/0.8531, allocations: 0 / 0.8576 GB, free: 1.641 MB / 0.6387 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.002804/0.8559, allocations: 1.96 MB / 0.8595 GB, free: 0.6172 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.8559, allocations: 10.28 kB / 0.8595 GB, free: 0.6172 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001866/0.8561, allocations: 197.6 kB / 0.8597 GB, free: 0.5742 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002476/0.8586, allocations: 403.8 kB / 0.8601 GB, free: 496 kB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/0.8601, allocations: 1.003 MB / 0.8611 GB, free: 128 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.075e-05/0.8601, allocations: 97.03 kB / 0.8612 GB, free: 124 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.8603, allocations: 128.6 kB / 0.8613 GB, free: 124 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002296/0.8626, allocations: 1.46 MB / 0.8627 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/0.8626, allocations: 0 / 0.8627 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.8628, allocations: 65.02 kB / 0.8628 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/0.8628, allocations: 31.69 kB / 0.8628 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002249/0.865, allocations: 1.529 MB / 0.8643 GB, free: 15.88 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.006479/0.8715, allocations: 4.893 MB / 0.8691 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002379/0.8739, allocations: 1.416 MB / 0.8705 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007053/0.8747, allocations: 458.6 kB / 0.8709 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007341/0.8754, allocations: 423.4 kB / 0.8713 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001054/0.8765, allocations: 0.6233 MB / 0.8719 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=98): time 2.645e-06/0.8765, allocations: 3.5 kB / 0.8719 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of matching and sorting (n=98): time 0.003836/0.8803, allocations: 1.535 MB / 0.8734 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/0.8805, allocations: 193 kB / 0.8736 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.8816, allocations: 0.8455 MB / 0.8744 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001124/0.8817, allocations: 47.27 kB / 0.8745 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000522/0.8822, allocations: 0.5839 MB / 0.875 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003262/0.8826, allocations: 348.5 kB / 0.8754 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002778/0.8829, allocations: 186.4 kB / 0.8756 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.883, allocations: 347.7 kB / 0.8759 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006761/0.8837, allocations: 341.6 kB / 0.8762 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008703/0.8846, allocations: 0.525 MB / 0.8767 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/0.8862, allocations: 0.8802 MB / 0.8776 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.8862, allocations: 0.9688 kB / 0.8776 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002525/0.8887, allocations: 1.104 MB / 0.8787 GB, free: 9.984 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.8888, allocations: 11.88 kB / 0.8787 GB, free: 9.984 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.8888, allocations: 3 kB / 0.8787 GB, free: 9.984 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000575/0.8894, allocations: 88.23 kB / 0.8788 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009522/0.8903, allocations: 231 kB / 0.879 GB, free: 9.953 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/0.8926, allocations: 1.651 MB / 0.8806 GB, free: 8.426 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009952/0.8936, allocations: 124 kB / 0.8807 GB, free: 8.355 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.382e-05/0.8937, allocations: 40.8 kB / 0.8807 GB, free: 8.348 MB / 0.6544 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.0006543/0.8943, allocations: 327.8 kB / 0.8811 GB, free: 8.129 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00024/0.8946, allocations: 121.5 kB / 0.8812 GB, free: 8.066 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002906/0.8975, allocations: 1.334 MB / 0.8825 GB, free: 7.555 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.8975, allocations: 13.56 kB / 0.8825 GB, free: 7.555 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/0.8975, allocations: 5.625 kB / 0.8825 GB, free: 7.551 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.8976, allocations: 5.516 kB / 0.8825 GB, free: 7.551 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 postOpt removeSimpleEquations (simulation): time 0.004626/0.9022, allocations: 2.693 MB / 0.8851 GB, free: 6.273 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.9022, allocations: 0 / 0.8851 GB, free: 6.273 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008912/0.9031, allocations: 213.5 kB / 0.8853 GB, free: 6.266 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004279/0.9036, allocations: 71.58 kB / 0.8854 GB, free: 6.25 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.457e-05/0.9036, allocations: 32.47 kB / 0.8854 GB, free: 6.234 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002055/0.9057, allocations: 1.678 MB / 0.8871 GB, free: 4.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.9057, allocations: 0.8125 kB / 0.8871 GB, free: 4.68 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002778/0.9085, allocations: 1.232 MB / 0.8883 GB, free: 4.137 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006137/0.9091, allocations: 345.3 kB / 0.8886 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/0.9093, allocations: 19.03 kB / 0.8886 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000818/0.9101, allocations: 69.86 kB / 0.8887 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.9103, allocations: 74.25 kB / 0.8888 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/0.9104, allocations: 50.25 kB / 0.8888 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008854/0.9113, allocations: 0.5936 MB / 0.8894 GB, free: 3.586 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9113, allocations: 0.8125 kB / 0.8894 GB, free: 3.586 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00124/0.9126, allocations: 459.7 kB / 0.8898 GB, free: 3.461 MB / 0.6544 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.004991/0.9176, allocations: 2.381 MB / 0.8922 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002276/0.9199, allocations: 1.034 MB / 0.8932 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.9199, allocations: 0 / 0.8932 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.9211, allocations: 0.6417 MB / 0.8938 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002412/0.9235, allocations: 0.5226 MB / 0.8943 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0158/0.9393, allocations: 8.547 MB / 0.9026 GB, free: 10.98 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009451/0.9403, allocations: 1.178 MB / 0.9038 GB, free: 9.77 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001428/0.9418, allocations: 373.3 kB / 0.9042 GB, free: 9.402 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007884/0.9426, allocations: 0.5266 MB / 0.9047 GB, free: 8.875 MB / 0.67 GB Notification: Performance of SimCode: time 1.362e-06/0.9426, allocations: 0 / 0.9047 GB, free: 8.875 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07427/1.017, allocations: 31.97 MB / 0.9359 GB, free: 9.395 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/14.32, allocations: 6.328 kB / 0.9359 GB, free: 9.391 MB / 0.7012 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)