Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IDEAS_dev_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.006802/0.006803, allocations: 99.47 kB / 15.73 MB, free: 6.023 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.001554/0.001554, allocations: 187.6 kB / 16.67 MB, free: 5.961 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9411/0.9411, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 63.89 kB / 0.5851 GB, free: 3.828 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4416/0.443, allocations: 80.91 MB / 0.6641 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1894/0.6325, allocations: 175.8 MB / 0.8358 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01651/0.649, allocations: 12.64 MB / 0.8482 GB, free: 4.414 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001703/0.6507, allocations: 35.81 kB / 0.8482 GB, free: 4.379 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001834/0.6526, allocations: 440.7 kB / 0.8486 GB, free: 3.945 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003441/0.6561, allocations: 0.9316 MB / 0.8495 GB, free: 3.012 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00501/0.6611, allocations: 1.809 MB / 0.8513 GB, free: 1.211 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003041/0.6642, allocations: 2.283 MB / 0.8535 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002457/0.6667, allocations: 1.582 MB / 0.8551 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004001/0.6707, allocations: 1.381 MB / 0.8564 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001298/0.672, allocations: 0.8128 MB / 0.8572 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000414/0.6724, allocations: 160 kB / 0.8574 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003049/0.6755, allocations: 1.412 MB / 0.8588 GB, free: 9.551 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004518/0.6759, allocations: 462.6 kB / 0.8592 GB, free: 9.098 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000955/0.6769, allocations: 0.8046 MB / 0.86 GB, free: 8.289 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003592/0.6805, allocations: 2.633 MB / 0.8626 GB, free: 5.648 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.6805, allocations: 3.984 kB / 0.8626 GB, free: 5.645 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6805, allocations: 0 / 0.8626 GB, free: 5.645 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.448e-05/0.6805, allocations: 0 / 0.8626 GB, free: 5.645 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.002937/0.6835, allocations: 1.903 MB / 0.8644 GB, free: 3.684 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.6835, allocations: 8.031 kB / 0.8644 GB, free: 3.676 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002014/0.6837, allocations: 198.3 kB / 0.8646 GB, free: 3.473 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002459/0.6862, allocations: 405.6 kB / 0.865 GB, free: 3.074 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001597/0.6878, allocations: 1.003 MB / 0.866 GB, free: 2.027 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.697e-05/0.6879, allocations: 94.62 kB / 0.8661 GB, free: 1.934 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/0.6881, allocations: 124 kB / 0.8662 GB, free: 1.812 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00229/0.6904, allocations: 1.464 MB / 0.8676 GB, free: 276 kB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.814e-05/0.6904, allocations: 4 kB / 0.8676 GB, free: 272 kB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/0.6905, allocations: 56 kB / 0.8677 GB, free: 216 kB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.872e-05/0.6906, allocations: 35.94 kB / 0.8677 GB, free: 180 kB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3176/1.008, allocations: 1.527 MB / 0.8692 GB, free: 193.1 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.007451/1.016, allocations: 4.867 MB / 0.874 GB, free: 190.1 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002317/1.018, allocations: 1.419 MB / 0.8753 GB, free: 189.3 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008023/1.019, allocations: 454.1 kB / 0.8758 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006481/1.019, allocations: 431.4 kB / 0.8762 GB, free: 188.7 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001116/1.021, allocations: 0.617 MB / 0.8768 GB, free: 188.4 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=98): time 2.755e-06/1.021, allocations: 0 / 0.8768 GB, free: 188.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=98): time 0.004113/1.025, allocations: 1.531 MB / 0.8783 GB, free: 187.6 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.909e-05/1.025, allocations: 198.3 kB / 0.8785 GB, free: 187.3 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00148/1.026, allocations: 0.8444 MB / 0.8793 GB, free: 186.9 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.275e-05/1.026, allocations: 47.89 kB / 0.8793 GB, free: 186.8 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004477/1.027, allocations: 0.5727 MB / 0.8799 GB, free: 186.3 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002305/1.027, allocations: 327.4 kB / 0.8802 GB, free: 186 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003311/1.027, allocations: 184.2 kB / 0.8804 GB, free: 185.9 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 7.394e-05/1.028, allocations: 346 kB / 0.8807 GB, free: 185.6 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007529/1.028, allocations: 340.9 kB / 0.881 GB, free: 185.4 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007857/1.029, allocations: 0.5337 MB / 0.8816 GB, free: 185 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/1.031, allocations: 0.8754 MB / 0.8824 GB, free: 184.5 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/1.031, allocations: 1.344 kB / 0.8824 GB, free: 184.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002401/1.033, allocations: 1.108 MB / 0.8835 GB, free: 184 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/1.033, allocations: 9.609 kB / 0.8835 GB, free: 184 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/1.033, allocations: 4.156 kB / 0.8835 GB, free: 184 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005987/1.034, allocations: 88.53 kB / 0.8836 GB, free: 183.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009634/1.035, allocations: 229 kB / 0.8838 GB, free: 183.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/1.036, allocations: 1.649 MB / 0.8854 GB, free: 182.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008966/1.037, allocations: 114.3 kB / 0.8855 GB, free: 182.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8e-05/1.037, allocations: 43.97 kB / 0.8856 GB, free: 182.2 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.0005952/1.038, allocations: 322.9 kB / 0.8859 GB, free: 181.9 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002022/1.038, allocations: 119.4 kB / 0.886 GB, free: 181.9 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002717/1.041, allocations: 1.333 MB / 0.8873 GB, free: 181.1 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/1.041, allocations: 11.41 kB / 0.8873 GB, free: 181.1 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/1.041, allocations: 0 / 0.8873 GB, free: 181.1 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/1.041, allocations: 12.75 kB / 0.8873 GB, free: 181.1 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.004053/1.045, allocations: 2.693 MB / 0.89 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/1.045, allocations: 0 / 0.89 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009257/1.046, allocations: 214.8 kB / 0.8902 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004298/1.046, allocations: 75.06 kB / 0.8902 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-05/1.047, allocations: 32.45 kB / 0.8903 GB, free: 179.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001493/1.048, allocations: 1.667 MB / 0.8919 GB, free: 177.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.048, allocations: 1.688 kB / 0.8919 GB, free: 177.6 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002363/1.05, allocations: 1.223 MB / 0.8931 GB, free: 177 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000529/1.051, allocations: 338 kB / 0.8934 GB, free: 176.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/1.051, allocations: 30.09 kB / 0.8934 GB, free: 176.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008047/1.052, allocations: 70.73 kB / 0.8935 GB, free: 176.6 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/1.052, allocations: 68.06 kB / 0.8936 GB, free: 176.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.48e-05/1.052, allocations: 53.61 kB / 0.8936 GB, free: 176.6 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007597/1.053, allocations: 0.5881 MB / 0.8942 GB, free: 176.2 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.102e-06/1.053, allocations: 4 kB / 0.8942 GB, free: 176.2 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001199/1.054, allocations: 459.3 kB / 0.8946 GB, free: 176.1 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.003958/1.058, allocations: 2.382 MB / 0.897 GB, free: 174.7 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002065/1.06, allocations: 1.041 MB / 0.898 GB, free: 174.2 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.06, allocations: 1.188 kB / 0.898 GB, free: 174.2 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001062/1.061, allocations: 0.6311 MB / 0.8986 GB, free: 173.8 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002332/1.064, allocations: 0.5005 MB / 0.8991 GB, free: 173.6 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01562/1.079, allocations: 8.504 MB / 0.9074 GB, free: 168.5 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008269/1.08, allocations: 1.18 MB / 0.9085 GB, free: 167.6 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001507/1.082, allocations: 382.2 kB / 0.9089 GB, free: 167.4 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009838/1.083, allocations: 0.5289 MB / 0.9094 GB, free: 167 MB / 0.6856 GB Notification: Performance of SimCode: time 1.623e-06/1.083, allocations: 0 / 0.9094 GB, free: 167 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06275/1.145, allocations: 32.53 MB / 0.9412 GB, free: 136.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/14.43, allocations: 2.812 kB / 0.9412 GB, free: 136.1 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)