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.001322/0.001322, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001089/0.001089, allocations: 199.2 kB / 16.14 MB, free: 6.715 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.304/1.304, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.726/0.726, allocations: 132.2 MB / 422.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 55.38 kB / 0.5012 GB, free: 4.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3412, allocations: 80.21 MB / 0.5795 GB, free: 4.523 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1685/0.5098, allocations: 173.5 MB / 0.749 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01479/0.5246, allocations: 12.66 MB / 0.7613 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.5257, allocations: 31.81 kB / 0.7613 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.5268, allocations: 365.8 kB / 0.7617 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002165/0.529, allocations: 0.8387 MB / 0.7625 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003706/0.5327, allocations: 1.617 MB / 0.7641 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002432/0.5352, allocations: 2.626 MB / 0.7667 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001632/0.5368, allocations: 1.451 MB / 0.7681 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003803/0.5406, allocations: 1.22 MB / 0.7693 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000805/0.5414, allocations: 0.8089 MB / 0.7701 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001622/0.5416, allocations: 84 kB / 0.7701 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002347/0.544, allocations: 1.454 MB / 0.7716 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003148/0.5443, allocations: 394.6 kB / 0.7719 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006224/0.5449, allocations: 0.7343 MB / 0.7727 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002513/0.5475, allocations: 2.574 MB / 0.7752 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.5475, allocations: 0 / 0.7752 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.012e-06/0.5475, allocations: 0 / 0.7752 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.637e-05/0.5475, allocations: 0 / 0.7752 GB, free: 8.648 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.002871/0.5504, allocations: 1.903 MB / 0.777 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.5504, allocations: 8.031 kB / 0.777 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002091/0.5506, allocations: 202.3 kB / 0.7772 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002686/0.5533, allocations: 405.5 kB / 0.7776 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.5547, allocations: 0.9411 MB / 0.7785 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.254e-05/0.5547, allocations: 102.6 kB / 0.7786 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.5549, allocations: 136 kB / 0.7788 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002378/0.5573, allocations: 1.454 MB / 0.7802 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.5573, allocations: 3.938 kB / 0.7802 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/0.5575, allocations: 60 kB / 0.7802 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.432e-05/0.5575, allocations: 39.88 kB / 0.7803 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002472/0.56, allocations: 1.528 MB / 0.7818 GB, free: 1.688 MB / 0.6075 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.006216/0.5662, allocations: 4.918 MB / 0.7866 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002293/0.5685, allocations: 1.422 MB / 0.788 GB, free: 11 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000805/0.5693, allocations: 452.3 kB / 0.7884 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007047/0.5701, allocations: 425.4 kB / 0.7888 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001074/0.5711, allocations: 0.6161 MB / 0.7894 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=98): time 2.454e-06/0.5712, allocations: 0 / 0.7894 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of matching and sorting (n=98): time 0.003848/0.575, allocations: 1.532 MB / 0.7909 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.628e-05/0.5751, allocations: 196.9 kB / 0.7911 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.5761, allocations: 0.8465 MB / 0.7919 GB, free: 6.773 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.997e-05/0.5762, allocations: 49.7 kB / 0.792 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003964/0.5766, allocations: 0.5739 MB / 0.7925 GB, free: 6.137 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002306/0.5768, allocations: 327.2 kB / 0.7928 GB, free: 5.812 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002963/0.5772, allocations: 182.5 kB / 0.793 GB, free: 5.629 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.5773, allocations: 345.9 kB / 0.7933 GB, free: 5.285 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006838/0.578, allocations: 345.7 kB / 0.7937 GB, free: 4.945 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000827/0.5788, allocations: 0.5242 MB / 0.7942 GB, free: 4.359 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/0.5803, allocations: 0.8746 MB / 0.795 GB, free: 3.445 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.5803, allocations: 4 kB / 0.795 GB, free: 3.441 MB / 0.6231 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00248/0.5828, allocations: 1.106 MB / 0.7961 GB, free: 2.32 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.5828, allocations: 11.94 kB / 0.7961 GB, free: 2.309 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.5829, allocations: 0 / 0.7961 GB, free: 2.309 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006209/0.5835, allocations: 85.16 kB / 0.7962 GB, free: 2.223 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.5845, allocations: 231.7 kB / 0.7964 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/0.5866, allocations: 1.536 MB / 0.7979 GB, free: 332 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009562/0.5875, allocations: 137.2 kB / 0.7981 GB, free: 196 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.01e-05/0.5876, allocations: 43.97 kB / 0.7981 GB, free: 152 kB / 0.6231 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.0005654/0.5882, allocations: 321.6 kB / 0.7984 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/0.5884, allocations: 114.6 kB / 0.7985 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002923/0.5914, allocations: 1.334 MB / 0.7998 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.5914, allocations: 19.94 kB / 0.7998 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.5914, allocations: 0 / 0.7998 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.5914, allocations: 7.969 kB / 0.7998 GB, free: 14.33 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.004149/0.5956, allocations: 2.693 MB / 0.8025 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.5956, allocations: 0 / 0.8025 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009554/0.5965, allocations: 223.6 kB / 0.8027 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005152/0.5971, allocations: 80.78 kB / 0.8028 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.897e-05/0.5971, allocations: 31.97 kB / 0.8028 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001682/0.5988, allocations: 1.559 MB / 0.8043 GB, free: 9.531 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5988, allocations: 0 / 0.8043 GB, free: 9.531 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00238/0.6012, allocations: 1.226 MB / 0.8055 GB, free: 8.285 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000444/0.6017, allocations: 339.3 kB / 0.8058 GB, free: 7.934 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001546/0.6018, allocations: 23.98 kB / 0.8059 GB, free: 7.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009001/0.6028, allocations: 83.83 kB / 0.8059 GB, free: 7.828 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.6029, allocations: 80.83 kB / 0.806 GB, free: 7.746 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.415e-05/0.603, allocations: 43.97 kB / 0.8061 GB, free: 7.703 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007316/0.6038, allocations: 0.598 MB / 0.8066 GB, free: 7.094 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6038, allocations: 0 / 0.8066 GB, free: 7.094 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001059/0.6048, allocations: 454.9 kB / 0.8071 GB, free: 6.648 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.004038/0.6089, allocations: 2.376 MB / 0.8094 GB, free: 4.469 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002023/0.6109, allocations: 1.031 MB / 0.8104 GB, free: 3.426 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.6109, allocations: 0 / 0.8104 GB, free: 3.426 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.612, allocations: 0.6333 MB / 0.811 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002024/0.6141, allocations: 491.1 kB / 0.8115 GB, free: 2.316 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2422/0.8562, allocations: 9.503 MB / 0.8208 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000684/0.857, allocations: 1.173 MB / 0.8219 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001398/0.8584, allocations: 375.5 kB / 0.8223 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006254/0.859, allocations: 0.5315 MB / 0.8228 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of SimCode: time 6.01e-07/0.859, allocations: 0 / 0.8228 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.758/1.617, allocations: 30.65 MB / 0.8527 GB, free: 197.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/1.617, allocations: 274.8 kB / 0.853 GB, free: 196.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.846/4.464, allocations: 3.625 kB / 0.853 GB, free: 196.8 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 & /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)