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.00102/0.00102, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001167/0.001167, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9772/0.9772, allocations: 135.3 MB / 426.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003513, allocations: 8.938 kB / 0.5071 GB, free: 5.062 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1902, allocations: 82.32 MB / 0.5875 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.6244/0.8147, allocations: 159.7 MB / 0.7434 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01599/0.8307, allocations: 11.72 MB / 0.7549 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001321/0.8321, allocations: 30.69 kB / 0.7549 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.8331, allocations: 307.4 kB / 0.7552 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002205/0.8354, allocations: 0.7726 MB / 0.756 GB, free: 308 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004313/0.8397, allocations: 1.334 MB / 0.7573 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002934/0.8426, allocations: 2.306 MB / 0.7595 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001718/0.8444, allocations: 1.155 MB / 0.7606 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002192/0.8466, allocations: 1.004 MB / 0.7616 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008777/0.8475, allocations: 0.6337 MB / 0.7622 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.8476, allocations: 40 kB / 0.7623 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002427/0.85, allocations: 0.8852 MB / 0.7631 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003751/0.8504, allocations: 310.8 kB / 0.7634 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004089/0.8508, allocations: 284.9 kB / 0.7637 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002447/0.8533, allocations: 1.832 MB / 0.7655 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.8533, allocations: 0 / 0.7655 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.074e-06/0.8533, allocations: 3.938 kB / 0.7655 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.617e-05/0.8534, allocations: 0 / 0.7655 GB, free: 6.613 MB / 0.5762 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.002901/0.8563, allocations: 1.614 MB / 0.7671 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.8563, allocations: 8.031 kB / 0.7671 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002334/0.8566, allocations: 198.3 kB / 0.7673 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002378/0.859, allocations: 409.7 kB / 0.7677 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/0.8604, allocations: 0.9222 MB / 0.7686 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.425e-05/0.8605, allocations: 102.6 kB / 0.7687 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.8607, allocations: 124 kB / 0.7688 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002342/0.863, allocations: 1.449 MB / 0.7702 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.863, allocations: 7.938 kB / 0.7702 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/0.8632, allocations: 56 kB / 0.7703 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.876e-05/0.8632, allocations: 36 kB / 0.7703 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002388/0.8656, allocations: 1.528 MB / 0.7718 GB, free: 15.98 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.006266/0.8719, allocations: 4.934 MB / 0.7766 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002205/0.8741, allocations: 1.42 MB / 0.778 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007391/0.8749, allocations: 452.8 kB / 0.7784 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007384/0.8756, allocations: 441.4 kB / 0.7788 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001056/0.8767, allocations: 0.6217 MB / 0.7795 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=98): time 2.424e-06/0.8767, allocations: 3.938 kB / 0.7795 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of matching and sorting (n=98): time 0.003609/0.8803, allocations: 1.543 MB / 0.781 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.431e-05/0.8804, allocations: 192.9 kB / 0.7811 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.8815, allocations: 0.8426 MB / 0.782 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.301e-05/0.8816, allocations: 49.7 kB / 0.782 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004515/0.882, allocations: 0.5778 MB / 0.7826 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002594/0.8823, allocations: 327.2 kB / 0.7829 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.247e-05/0.8824, allocations: 16 kB / 0.7829 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.8825, allocations: 338 kB / 0.7832 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006655/0.8832, allocations: 353.7 kB / 0.7836 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008166/0.884, allocations: 0.5207 MB / 0.7841 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007546/0.8848, allocations: 414.8 kB / 0.7845 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.8848, allocations: 4 kB / 0.7845 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00232/0.8871, allocations: 1.106 MB / 0.7856 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.8871, allocations: 8 kB / 0.7856 GB, free: 1.262 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.8872, allocations: 4 kB / 0.7856 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005327/0.8877, allocations: 89.17 kB / 0.7857 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009532/0.8887, allocations: 231.7 kB / 0.7859 GB, free: 0.9414 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001976/0.8906, allocations: 1.544 MB / 0.7874 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009119/0.8916, allocations: 138 kB / 0.7875 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-05/0.8917, allocations: 43.97 kB / 0.7876 GB, free: 15.08 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 ($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.0005521/0.8922, allocations: 317.6 kB / 0.7879 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.8924, allocations: 126.5 kB / 0.788 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002792/0.8952, allocations: 1.345 MB / 0.7893 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.8952, allocations: 12 kB / 0.7893 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.8952, allocations: 0 / 0.7893 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.8953, allocations: 7.969 kB / 0.7893 GB, free: 13.27 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 postOpt removeSimpleEquations (simulation): time 0.004265/0.8995, allocations: 2.707 MB / 0.792 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.8996, allocations: 0 / 0.792 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000935/0.9005, allocations: 215.7 kB / 0.7922 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004518/0.901, allocations: 84.78 kB / 0.7922 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-05/0.901, allocations: 31.97 kB / 0.7923 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001753/0.9028, allocations: 1.552 MB / 0.7938 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9028, allocations: 0 / 0.7938 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002351/0.9052, allocations: 1.23 MB / 0.795 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005483/0.9057, allocations: 351.3 kB / 0.7953 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/0.9059, allocations: 24 kB / 0.7953 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008014/0.9067, allocations: 103.8 kB / 0.7954 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.9068, allocations: 68.89 kB / 0.7955 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.409e-05/0.9069, allocations: 47.97 kB / 0.7956 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008817/0.9078, allocations: 0.5901 MB / 0.7961 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9078, allocations: 0 / 0.7961 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001261/0.9091, allocations: 454.9 kB / 0.7966 GB, free: 5.559 MB / 0.6075 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 (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.004077/0.9132, allocations: 2.38 MB / 0.7989 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002123/0.9153, allocations: 1.027 MB / 0.7999 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.9154, allocations: 6.938 kB / 0.7999 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.9164, allocations: 0.6368 MB / 0.8005 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002002/0.9185, allocations: 479.9 kB / 0.801 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01317/0.9316, allocations: 7.068 MB / 0.8079 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007667/0.9324, allocations: 1.182 MB / 0.809 GB, free: 8.652 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001458/0.9339, allocations: 377.3 kB / 0.8094 GB, free: 8.281 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007301/0.9346, allocations: 0.5266 MB / 0.8099 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of SimCode: time 9.22e-07/0.9347, allocations: 0 / 0.8099 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05653/0.9912, allocations: 31.83 MB / 0.841 GB, free: 8.379 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.9915, allocations: 262 kB / 0.8412 GB, free: 8.023 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.756/3.747, allocations: 0 / 0.8412 GB, free: 8.023 MB / 0.6544 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: