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.005205/0.005205, allocations: 102 kB / 15.73 MB, free: 6.441 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.001323/0.001323, allocations: 193.1 kB / 16.67 MB, free: 6.352 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7979/0.7979, allocations: 132.2 MB / 422.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 59.91 kB / 0.5809 GB, free: 8.039 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3848, allocations: 80.21 MB / 0.6592 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1927/0.5775, allocations: 175.8 MB / 0.8309 GB, free: 5.723 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01759/0.5951, allocations: 12.63 MB / 0.8432 GB, free: 9.047 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001531/0.5968, allocations: 35.81 kB / 0.8432 GB, free: 9.012 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001375/0.5982, allocations: 436.7 kB / 0.8437 GB, free: 8.582 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002974/0.6011, allocations: 0.9337 MB / 0.8446 GB, free: 7.648 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004825/0.606, allocations: 1.813 MB / 0.8463 GB, free: 5.844 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003215/0.6092, allocations: 2.275 MB / 0.8486 GB, free: 3.562 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002249/0.6115, allocations: 1.594 MB / 0.8501 GB, free: 1.922 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003928/0.6154, allocations: 1.358 MB / 0.8514 GB, free: 0.5977 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001272/0.6167, allocations: 0.8129 MB / 0.8522 GB, free: 15.78 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002639/0.617, allocations: 156 kB / 0.8524 GB, free: 15.63 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002993/0.62, allocations: 1.415 MB / 0.8538 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004775/0.6205, allocations: 466.6 kB / 0.8542 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0009409/0.6214, allocations: 0.7968 MB / 0.855 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004147/0.6256, allocations: 2.651 MB / 0.8576 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.6256, allocations: 4 kB / 0.8576 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6256, allocations: 0 / 0.8576 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.117e-05/0.6256, allocations: 0 / 0.8576 GB, free: 10.29 MB / 0.6856 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.003282/0.6289, allocations: 1.963 MB / 0.8595 GB, free: 8.266 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.629, allocations: 12.03 kB / 0.8595 GB, free: 8.254 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002373/0.6292, allocations: 194.3 kB / 0.8597 GB, free: 8.055 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00257/0.6318, allocations: 410.5 kB / 0.8601 GB, free: 7.652 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001581/0.6334, allocations: 1.004 MB / 0.8611 GB, free: 6.605 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.284e-05/0.6335, allocations: 102.6 kB / 0.8612 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/0.6337, allocations: 124 kB / 0.8613 GB, free: 6.383 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002513/0.6362, allocations: 1.456 MB / 0.8627 GB, free: 4.848 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.6362, allocations: 0 / 0.8627 GB, free: 4.848 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/0.6364, allocations: 60 kB / 0.8628 GB, free: 4.789 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.878e-05/0.6364, allocations: 35.94 kB / 0.8628 GB, free: 4.754 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002687/0.6391, allocations: 1.536 MB / 0.8643 GB, free: 3.211 MB / 0.6856 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.2787/0.9178, allocations: 4.889 MB / 0.8691 GB, free: 193.1 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00235/0.9202, allocations: 1.417 MB / 0.8705 GB, free: 192.5 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000797/0.921, allocations: 451.4 kB / 0.8709 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006508/0.9217, allocations: 427.2 kB / 0.8713 GB, free: 192 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001148/0.9228, allocations: 0.6175 MB / 0.8719 GB, free: 191.7 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=98): time 2.675e-06/0.9229, allocations: 0 / 0.8719 GB, free: 191.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=98): time 0.00401/0.9269, allocations: 1.542 MB / 0.8734 GB, free: 191.2 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.9269, allocations: 195.3 kB / 0.8736 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.9281, allocations: 0.845 MB / 0.8744 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.128e-05/0.9282, allocations: 48.02 kB / 0.8745 GB, free: 190.5 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003823/0.9286, allocations: 0.5868 MB / 0.875 GB, free: 190.2 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002117/0.9288, allocations: 348.6 kB / 0.8754 GB, free: 189.9 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002884/0.9291, allocations: 186.9 kB / 0.8756 GB, free: 189.9 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 7.635e-05/0.9292, allocations: 342.3 kB / 0.8759 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007272/0.9299, allocations: 340.6 kB / 0.8762 GB, free: 189.4 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008425/0.9308, allocations: 0.5309 MB / 0.8767 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/0.9324, allocations: 0.8767 MB / 0.8776 GB, free: 188.7 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.9324, allocations: 0.7188 kB / 0.8776 GB, free: 188.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002764/0.9351, allocations: 1.109 MB / 0.8787 GB, free: 188.2 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.9352, allocations: 6.75 kB / 0.8787 GB, free: 188.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.9352, allocations: 2.969 kB / 0.8787 GB, free: 188.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006/0.9358, allocations: 90.09 kB / 0.8788 GB, free: 188.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009816/0.9368, allocations: 233.7 kB / 0.879 GB, free: 188.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001648/0.9385, allocations: 1.647 MB / 0.8806 GB, free: 186.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008717/0.9393, allocations: 111.9 kB / 0.8807 GB, free: 186.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.426e-05/0.9394, allocations: 42.44 kB / 0.8807 GB, free: 186.6 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.0005221/0.9399, allocations: 331.8 kB / 0.8811 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/0.9402, allocations: 119.1 kB / 0.8812 GB, free: 186.3 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002701/0.9429, allocations: 1.332 MB / 0.8825 GB, free: 185.8 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.9429, allocations: 11.09 kB / 0.8825 GB, free: 185.8 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.9429, allocations: 7.406 kB / 0.8825 GB, free: 185.8 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.9429, allocations: 3.844 kB / 0.8825 GB, free: 185.8 MB / 0.6856 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.003825/0.9467, allocations: 2.705 MB / 0.8851 GB, free: 184.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.9468, allocations: 1.25 kB / 0.8851 GB, free: 184.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009062/0.9477, allocations: 211.8 kB / 0.8853 GB, free: 184.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004281/0.9481, allocations: 74.52 kB / 0.8854 GB, free: 184.1 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-05/0.9482, allocations: 29.53 kB / 0.8854 GB, free: 184.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001477/0.9497, allocations: 1.675 MB / 0.8871 GB, free: 182.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.9497, allocations: 3.531 kB / 0.8871 GB, free: 182.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002312/0.952, allocations: 1.234 MB / 0.8883 GB, free: 181.8 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004181/0.9524, allocations: 342.3 kB / 0.8886 GB, free: 181.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/0.9526, allocations: 21.06 kB / 0.8886 GB, free: 181.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008027/0.9534, allocations: 73.73 kB / 0.8887 GB, free: 181.5 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.9535, allocations: 72.09 kB / 0.8888 GB, free: 181.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-05/0.9536, allocations: 46.38 kB / 0.8888 GB, free: 181.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007041/0.9543, allocations: 0.5915 MB / 0.8894 GB, free: 181.1 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9544, allocations: 0 / 0.8894 GB, free: 181.1 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001109/0.9555, allocations: 465.2 kB / 0.8898 GB, free: 181 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.004279/0.9598, allocations: 2.383 MB / 0.8922 GB, free: 179.7 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001988/0.9618, allocations: 1.038 MB / 0.8932 GB, free: 179.2 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.9618, allocations: 1.781 kB / 0.8932 GB, free: 179.2 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.9628, allocations: 0.6338 MB / 0.8938 GB, free: 178.8 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/0.9649, allocations: 0.5215 MB / 0.8943 GB, free: 178.5 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0136/0.9785, allocations: 8.545 MB / 0.9026 GB, free: 173.4 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006125/0.9792, allocations: 1.177 MB / 0.9038 GB, free: 172.5 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001279/0.9805, allocations: 373.3 kB / 0.9041 GB, free: 172.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007371/0.9812, allocations: 0.5297 MB / 0.9047 GB, free: 171.9 MB / 0.6856 GB Notification: Performance of SimCode: time 5.91e-07/0.9812, allocations: 1.156 kB / 0.9047 GB, free: 171.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07853/1.06, allocations: 31.98 MB / 0.9359 GB, free: 145.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.72/14.78, allocations: 10.59 kB / 0.9359 GB, free: 145.1 MB / 0.6856 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)