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.001867/0.001867, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.002062/0.002062, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.185/2.185, allocations: 223.2 MB / 239.9 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.37/1.37, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00056/0.0005602, allocations: 8.875 kB / 0.5069 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4549/0.4555, allocations: 82.31 MB / 0.5873 GB, free: 3 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 1.477/1.933, allocations: 146.9 MB / 0.7308 GB, free: 3.949 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03561/1.969, allocations: 10.65 MB / 0.7412 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002455/1.971, allocations: 26.03 kB / 0.7412 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002381/1.974, allocations: 273.7 kB / 0.7415 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00745/1.981, allocations: 0.7778 MB / 0.7422 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01115/1.992, allocations: 1.215 MB / 0.7434 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00749/2, allocations: 1.354 MB / 0.7447 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004169/2.004, allocations: 1.165 MB / 0.7459 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006296/2.011, allocations: 1.085 MB / 0.7469 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002154/2.013, allocations: 0.5139 MB / 0.7474 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000477/2.013, allocations: 40 kB / 0.7475 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003949/2.017, allocations: 0.7314 MB / 0.7482 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006379/2.018, allocations: 306.8 kB / 0.7485 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007907/2.019, allocations: 287.3 kB / 0.7488 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005532/2.024, allocations: 1.755 MB / 0.7505 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/2.024, allocations: 7.938 kB / 0.7505 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.337e-06/2.024, allocations: 3.938 kB / 0.7505 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.792e-05/2.024, allocations: 4 kB / 0.7505 GB, free: 5.328 MB / 0.5606 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.007427/2.032, allocations: 1.571 MB / 0.752 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 9.59e-05/2.032, allocations: 8.031 kB / 0.752 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007686/2.033, allocations: 198.3 kB / 0.7522 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004906/2.038, allocations: 413.7 kB / 0.7526 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003417/2.041, allocations: 0.926 MB / 0.7535 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/2.041, allocations: 102.6 kB / 0.7536 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000335/2.042, allocations: 128 kB / 0.7537 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004723/2.046, allocations: 1.437 MB / 0.7551 GB, free: 384 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.938e-05/2.046, allocations: 0 / 0.7551 GB, free: 384 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002382/2.047, allocations: 63.97 kB / 0.7552 GB, free: 320 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.946e-05/2.047, allocations: 32 kB / 0.7552 GB, free: 288 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005174/2.052, allocations: 1.532 MB / 0.7567 GB, free: 14.74 MB / 0.5762 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.0173/2.069, allocations: 4.929 MB / 0.7615 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004763/2.074, allocations: 1.304 MB / 0.7628 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008785/2.075, allocations: 259.2 kB / 0.7631 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002537/2.078, allocations: 0.6177 MB / 0.7637 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=98): time 5.51e-06/2.078, allocations: 0 / 0.7637 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98): time 0.007885/2.086, allocations: 1.537 MB / 0.7652 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004735/2.086, allocations: 192.9 kB / 0.7653 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004908/2.091, allocations: 0.8426 MB / 0.7662 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005591/2.092, allocations: 49.69 kB / 0.7662 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001224/2.093, allocations: 0.5739 MB / 0.7668 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000752/2.094, allocations: 327.2 kB / 0.7671 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.012e-05/2.094, allocations: 20 kB / 0.7671 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0003195/2.094, allocations: 345.9 kB / 0.7674 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001584/2.096, allocations: 341.8 kB / 0.7678 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001817/2.098, allocations: 0.5202 MB / 0.7683 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001877/2.1, allocations: 418.8 kB / 0.7687 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.327e-05/2.1, allocations: 0 / 0.7687 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.005625/2.105, allocations: 1.098 MB / 0.7697 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.272e-05/2.105, allocations: 4.406 kB / 0.7697 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.871e-05/2.105, allocations: 11.95 kB / 0.7698 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/2.106, allocations: 88.77 kB / 0.7698 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001979/2.108, allocations: 231.7 kB / 0.7701 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005257/2.114, allocations: 1.554 MB / 0.7716 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002434/2.116, allocations: 141.8 kB / 0.7717 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004325/2.117, allocations: 39.98 kB / 0.7718 GB, free: 14.67 MB / 0.5919 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00211/2.119, allocations: 323.7 kB / 0.7721 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001175/2.12, allocations: 114.6 kB / 0.7722 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007023/2.127, allocations: 1.349 MB / 0.7735 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.467e-05/2.127, allocations: 8 kB / 0.7735 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/2.127, allocations: 0 / 0.7735 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.082e-05/2.127, allocations: 7.969 kB / 0.7735 GB, free: 12.86 MB / 0.5919 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.01026/2.138, allocations: 2.731 MB / 0.7762 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.141e-05/2.138, allocations: 0 / 0.7762 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002159/2.14, allocations: 223.8 kB / 0.7764 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009892/2.141, allocations: 88.77 kB / 0.7765 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002506/2.141, allocations: 27.98 kB / 0.7765 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006337/2.148, allocations: 1.579 MB / 0.778 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-05/2.148, allocations: 4.031 kB / 0.778 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008706/2.156, allocations: 1.304 MB / 0.7793 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002831/2.159, allocations: 355.2 kB / 0.7797 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008752/2.16, allocations: 20 kB / 0.7797 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002557/2.163, allocations: 103.8 kB / 0.7798 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004916/2.163, allocations: 72.89 kB / 0.7798 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006715/2.164, allocations: 47.97 kB / 0.7799 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003109/2.167, allocations: 0.5824 MB / 0.7805 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.31e-07/2.167, allocations: 0 / 0.7805 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00306/2.17, allocations: 454.9 kB / 0.7809 GB, free: 4.965 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01031/2.181, allocations: 2.721 MB / 0.7835 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005867/2.187, allocations: 1.031 MB / 0.7846 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-05/2.187, allocations: 6.438 kB / 0.7846 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002557/2.189, allocations: 0.6332 MB / 0.7852 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004195/2.194, allocations: 471.5 kB / 0.7856 GB, free: 264 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0316/2.225, allocations: 8.997 MB / 0.7944 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002824/2.228, allocations: 1.209 MB / 0.7956 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.004613/2.233, allocations: 365.3 kB / 0.7959 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001622/2.235, allocations: 0.5304 MB / 0.7965 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of SimCode: time 1.964e-06/2.235, allocations: 4 kB / 0.7965 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3647/2.599, allocations: 31.68 MB / 0.8274 GB, free: 5.594 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0007721/2.6, allocations: 261.5 kB / 0.8277 GB, free: 5.25 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.591/8.191, allocations: 0 / 0.8277 GB, free: 5.25 MB / 0.6387 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/linux/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) Environment - environmentSimulation: