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.001654/0.001654, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001991/0.001991, allocations: 192.8 kB / 16.25 MB, free: 6.633 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.924/1.924, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.167/1.167, allocations: 135.1 MB / 425.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001617, allocations: 72.11 kB / 0.505 GB, free: 5.57 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2278, allocations: 80.93 MB / 0.584 GB, free: 4.809 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.665/0.8929, allocations: 173.4 MB / 0.7534 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01988/0.9128, allocations: 12.48 MB / 0.7655 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001816/0.9147, allocations: 31.81 kB / 0.7656 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001835/0.9165, allocations: 369.8 kB / 0.7659 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003644/0.9202, allocations: 0.8441 MB / 0.7668 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005812/0.9261, allocations: 1.665 MB / 0.7684 GB, free: 444 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00381/0.9299, allocations: 2.275 MB / 0.7706 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003067/0.933, allocations: 1.588 MB / 0.7722 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006095/0.9391, allocations: 1.344 MB / 0.7735 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001581/0.9407, allocations: 0.8324 MB / 0.7743 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006049/0.9413, allocations: 160 kB / 0.7744 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003864/0.9452, allocations: 1.423 MB / 0.7758 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000836/0.9461, allocations: 462.6 kB / 0.7763 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001426/0.9475, allocations: 0.8046 MB / 0.777 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005468/0.953, allocations: 2.652 MB / 0.7796 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.953, allocations: 0 / 0.7796 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.974e-06/0.953, allocations: 0 / 0.7796 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001024/0.9531, allocations: 0 / 0.7796 GB, free: 4.875 MB / 0.5919 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.005164/0.9583, allocations: 1.906 MB / 0.7815 GB, free: 2.914 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.9584, allocations: 12.03 kB / 0.7815 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004715/0.9588, allocations: 198.3 kB / 0.7817 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003081/0.9619, allocations: 401.6 kB / 0.7821 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002481/0.9644, allocations: 0.9528 MB / 0.783 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000218/0.9647, allocations: 94.62 kB / 0.7831 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003214/0.965, allocations: 132 kB / 0.7832 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003941/0.969, allocations: 1.456 MB / 0.7847 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.805e-05/0.969, allocations: 0 / 0.7847 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002035/0.9692, allocations: 60 kB / 0.7847 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.885e-05/0.9693, allocations: 32 kB / 0.7847 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003257/0.9725, allocations: 1.536 MB / 0.7862 GB, free: 13.92 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.009718/0.9823, allocations: 4.899 MB / 0.791 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003185/0.9855, allocations: 1.432 MB / 0.7924 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.9865, allocations: 448.8 kB / 0.7929 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009/0.9875, allocations: 433.3 kB / 0.7933 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001701/0.9892, allocations: 0.61 MB / 0.7939 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=98): time 4.078e-06/0.9892, allocations: 0 / 0.7939 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of matching and sorting (n=98): time 0.004944/0.9942, allocations: 1.536 MB / 0.7954 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001439/0.9943, allocations: 188.9 kB / 0.7955 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002009/0.9963, allocations: 0.8542 MB / 0.7964 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001254/0.9965, allocations: 45.7 kB / 0.7964 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001017/0.9975, allocations: 0.5777 MB / 0.797 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004292/0.9979, allocations: 331.2 kB / 0.7973 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005225/0.9985, allocations: 186.5 kB / 0.7975 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002181/0.9987, allocations: 341.9 kB / 0.7978 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00089/0.9996, allocations: 341.8 kB / 0.7981 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00141/1.001, allocations: 0.5289 MB / 0.7986 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001958/1.003, allocations: 0.8746 MB / 0.7995 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.547e-06/1.003, allocations: 4 kB / 0.7995 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.003198/1.006, allocations: 1.106 MB / 0.8006 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/1.006, allocations: 8 kB / 0.8006 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/1.006, allocations: 0 / 0.8006 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006799/1.007, allocations: 85.19 kB / 0.8007 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/1.008, allocations: 227.7 kB / 0.8009 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002769/1.011, allocations: 1.659 MB / 0.8025 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/1.012, allocations: 133.7 kB / 0.8026 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/1.012, allocations: 46.16 kB / 0.8027 GB, free: 12.27 MB / 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.0008405/1.013, allocations: 329.5 kB / 0.803 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004286/1.014, allocations: 114.6 kB / 0.8031 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003564/1.017, allocations: 1.332 MB / 0.8044 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/1.017, allocations: 12 kB / 0.8044 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/1.017, allocations: 0 / 0.8044 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/1.017, allocations: 3.984 kB / 0.8044 GB, free: 10.47 MB / 0.6231 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.005597/1.023, allocations: 2.698 MB / 0.8071 GB, free: 7.691 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/1.023, allocations: 0 / 0.8071 GB, free: 7.691 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/1.024, allocations: 215.7 kB / 0.8073 GB, free: 7.48 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005007/1.024, allocations: 72.78 kB / 0.8073 GB, free: 7.406 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.1e-05/1.024, allocations: 27.98 kB / 0.8074 GB, free: 7.379 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002394/1.027, allocations: 1.681 MB / 0.809 GB, free: 5.551 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.027, allocations: 0 / 0.809 GB, free: 5.551 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002885/1.03, allocations: 1.226 MB / 0.8102 GB, free: 4.305 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006997/1.031, allocations: 339.3 kB / 0.8105 GB, free: 3.953 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000255/1.031, allocations: 23.98 kB / 0.8105 GB, free: 3.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/1.032, allocations: 87.83 kB / 0.8106 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/1.032, allocations: 76.83 kB / 0.8107 GB, free: 3.77 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/1.032, allocations: 51.91 kB / 0.8107 GB, free: 3.719 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001737/1.034, allocations: 0.5903 MB / 0.8113 GB, free: 3.117 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.377e-06/1.034, allocations: 0 / 0.8113 GB, free: 3.117 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002252/1.036, allocations: 458.8 kB / 0.8118 GB, free: 2.668 MB / 0.6231 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.006269/1.043, allocations: 2.371 MB / 0.8141 GB, free: 496 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.005058/1.048, allocations: 1.324 MB / 0.8154 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.618e-05/1.048, allocations: 7.906 kB / 0.8154 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002008/1.05, allocations: 0.6368 MB / 0.816 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004386/1.054, allocations: 0.5095 MB / 0.8165 GB, free: 14 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03565/1.09, allocations: 9.521 MB / 0.8258 GB, free: 4.125 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001798/1.092, allocations: 1.179 MB / 0.8269 GB, free: 2.914 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003604/1.095, allocations: 377.2 kB / 0.8273 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001754/1.097, allocations: 0.5343 MB / 0.8278 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of SimCode: time 2.464e-06/1.097, allocations: 0 / 0.8278 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6788/1.776, allocations: 31.48 MB / 0.8586 GB, free: 2.98 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000435/1.777, allocations: 277 kB / 0.8588 GB, free: 2.605 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.331/6.107, allocations: 7.875 kB / 0.8588 GB, free: 2.598 MB / 0.67 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)