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.001029/0.001029, 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.001024/0.001024, allocations: 188.4 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.225/1.225, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6825/0.6825, allocations: 132.2 MB / 422.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001042/0.001042, allocations: 61.03 kB / 0.5014 GB, free: 8.984 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1254, allocations: 80.2 MB / 0.5797 GB, free: 9.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.3758/0.5012, allocations: 173.4 MB / 0.7491 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01359/0.5149, allocations: 12.49 MB / 0.7613 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008089/0.5157, allocations: 31.81 kB / 0.7613 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009795/0.5167, allocations: 373.8 kB / 0.7616 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002008/0.5187, allocations: 0.8282 MB / 0.7625 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003471/0.5222, allocations: 1.668 MB / 0.7641 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001774/0.524, allocations: 2.279 MB / 0.7663 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001522/0.5255, allocations: 1.576 MB / 0.7678 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003351/0.5289, allocations: 1.349 MB / 0.7692 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006863/0.5296, allocations: 0.8362 MB / 0.77 GB, free: 288 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001645/0.5298, allocations: 160 kB / 0.7701 GB, free: 128 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001792/0.5316, allocations: 1.423 MB / 0.7715 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003174/0.5319, allocations: 470.6 kB / 0.772 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005518/0.5324, allocations: 0.7929 MB / 0.7727 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002256/0.5347, allocations: 2.649 MB / 0.7753 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.5347, allocations: 0 / 0.7753 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5347, allocations: 3.938 kB / 0.7753 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.283e-05/0.5348, allocations: 0 / 0.7753 GB, free: 10.78 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.002492/0.5373, allocations: 1.91 MB / 0.7772 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.5373, allocations: 8.031 kB / 0.7772 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000201/0.5375, allocations: 202.3 kB / 0.7774 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002413/0.5399, allocations: 405.5 kB / 0.7778 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.5411, allocations: 0.945 MB / 0.7787 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.628e-05/0.5411, allocations: 102.6 kB / 0.7788 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.5413, allocations: 128 kB / 0.7789 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002155/0.5434, allocations: 1.456 MB / 0.7804 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.5435, allocations: 0 / 0.7804 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/0.5436, allocations: 60 kB / 0.7804 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.67e-05/0.5436, allocations: 32 kB / 0.7804 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002259/0.5459, allocations: 1.543 MB / 0.7819 GB, free: 3.812 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 preOpt removeSimpleEquations (simulation): time 0.005582/0.5515, allocations: 4.894 MB / 0.7867 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002108/0.5536, allocations: 1.428 MB / 0.7881 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007078/0.5543, allocations: 456.8 kB / 0.7886 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006603/0.555, allocations: 425.4 kB / 0.789 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001017/0.556, allocations: 0.6178 MB / 0.7896 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=98): time 1.983e-06/0.556, allocations: 7.938 kB / 0.7896 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of matching and sorting (n=98): time 0.003684/0.5597, allocations: 1.524 MB / 0.7911 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.096e-05/0.5598, allocations: 192.9 kB / 0.7912 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009313/0.5608, allocations: 0.8543 MB / 0.7921 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.95e-05/0.5608, allocations: 49.7 kB / 0.7921 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003797/0.5612, allocations: 0.5739 MB / 0.7927 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002281/0.5615, allocations: 327.2 kB / 0.793 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002726/0.5617, allocations: 186.5 kB / 0.7932 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.5619, allocations: 341.9 kB / 0.7935 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006567/0.5625, allocations: 341.8 kB / 0.7938 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007749/0.5633, allocations: 0.5242 MB / 0.7943 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/0.5648, allocations: 0.8824 MB / 0.7952 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.5648, allocations: 0 / 0.7952 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002315/0.5671, allocations: 1.106 MB / 0.7963 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.5671, allocations: 8 kB / 0.7963 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.5671, allocations: 4 kB / 0.7963 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005596/0.5677, allocations: 89.17 kB / 0.7964 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009563/0.5687, allocations: 231.7 kB / 0.7966 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/0.5705, allocations: 1.648 MB / 0.7982 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008574/0.5714, allocations: 140.4 kB / 0.7983 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-05/0.5715, allocations: 43.97 kB / 0.7984 GB, free: 2.168 MB / 0.6075 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.0004829/0.572, allocations: 327.1 kB / 0.7987 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/0.5722, allocations: 114.6 kB / 0.7988 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002804/0.575, allocations: 1.344 MB / 0.8001 GB, free: 384 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.575, allocations: 8 kB / 0.8001 GB, free: 376 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.575, allocations: 4 kB / 0.8001 GB, free: 372 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.575, allocations: 7.984 kB / 0.8001 GB, free: 364 kB / 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 postOpt removeSimpleEquations (simulation): time 0.003997/0.579, allocations: 2.686 MB / 0.8028 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-06/0.5791, allocations: 0 / 0.8028 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009307/0.58, allocations: 219.7 kB / 0.803 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004361/0.5804, allocations: 72.78 kB / 0.803 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.939e-05/0.5805, allocations: 31.97 kB / 0.8031 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001683/0.5822, allocations: 1.674 MB / 0.8047 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5822, allocations: 4.062 kB / 0.8047 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002273/0.5845, allocations: 1.222 MB / 0.8059 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004119/0.5849, allocations: 339.2 kB / 0.8062 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/0.5851, allocations: 20 kB / 0.8062 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008973/0.586, allocations: 87.83 kB / 0.8063 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.5861, allocations: 84.83 kB / 0.8064 GB, free: 9.66 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.125e-05/0.5862, allocations: 43.97 kB / 0.8065 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006873/0.5869, allocations: 0.5903 MB / 0.807 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.01e-07/0.5869, allocations: 0 / 0.807 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001045/0.588, allocations: 454.9 kB / 0.8075 GB, free: 8.57 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.004076/0.5921, allocations: 2.37 MB / 0.8098 GB, free: 6.391 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002872/0.595, allocations: 1.339 MB / 0.8111 GB, free: 5.043 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.595, allocations: 0 / 0.8111 GB, free: 5.043 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.596, allocations: 0.6251 MB / 0.8117 GB, free: 4.41 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001916/0.5979, allocations: 0.5054 MB / 0.8122 GB, free: 3.941 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01527/0.6132, allocations: 9.519 MB / 0.8215 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007042/0.6139, allocations: 1.178 MB / 0.8226 GB, free: 8.848 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001258/0.6152, allocations: 385.2 kB / 0.823 GB, free: 8.469 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006643/0.6159, allocations: 0.5266 MB / 0.8235 GB, free: 7.941 MB / 0.6387 GB Notification: Performance of SimCode: time 3.61e-07/0.6159, allocations: 0 / 0.8235 GB, free: 7.941 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3018/0.9177, allocations: 31.47 MB / 0.8543 GB, free: 8.957 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002607/0.918, allocations: 283.7 kB / 0.8545 GB, free: 8.582 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.494/3.412, allocations: 0 / 0.8545 GB, free: 8.582 MB / 0.67 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)