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.001319/0.001319, allocations: 99.62 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.001496/0.001496, allocations: 177.3 kB / 15.95 MB, free: 216 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.501/2.501, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.258/1.258, allocations: 132.2 MB / 423.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005071/0.0005071, allocations: 12.91 kB / 0.5033 GB, free: 4.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8799/0.8804, allocations: 81.58 MB / 0.583 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2982/1.179, allocations: 147 MB / 0.7265 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03089/1.21, allocations: 10.66 MB / 0.7369 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002067/1.212, allocations: 27.81 kB / 0.7369 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002024/1.214, allocations: 278.4 kB / 0.7372 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005182/1.219, allocations: 0.7855 MB / 0.7379 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006774/1.226, allocations: 1.212 MB / 0.7391 GB, free: 264 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004903/1.231, allocations: 1.357 MB / 0.7405 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003873/1.235, allocations: 1.161 MB / 0.7416 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005419/1.24, allocations: 1.082 MB / 0.7426 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002146/1.242, allocations: 0.5092 MB / 0.7431 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007353/1.243, allocations: 47.98 kB / 0.7432 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005191/1.248, allocations: 0.7333 MB / 0.7439 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00113/1.249, allocations: 302.9 kB / 0.7442 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001209/1.251, allocations: 280.9 kB / 0.7445 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006703/1.257, allocations: 1.757 MB / 0.7462 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/1.257, allocations: 0 / 0.7462 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of FrontEnd: time 6.241e-06/1.257, allocations: 0 / 0.7462 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001152/1.258, allocations: 3.938 kB / 0.7462 GB, free: 8.984 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.00742/1.265, allocations: 1.58 MB / 0.7477 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 9.664e-05/1.265, allocations: 8.031 kB / 0.7477 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009256/1.266, allocations: 202.3 kB / 0.7479 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005659/1.272, allocations: 413.7 kB / 0.7483 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005192/1.277, allocations: 0.9261 MB / 0.7492 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002265/1.277, allocations: 94.62 kB / 0.7493 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006596/1.278, allocations: 128 kB / 0.7494 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007163/1.285, allocations: 1.442 MB / 0.7508 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001004/1.285, allocations: 0 / 0.7508 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007764/1.286, allocations: 60 kB / 0.7509 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.315e-05/1.286, allocations: 32 kB / 0.7509 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00667/1.293, allocations: 1.528 MB / 0.7524 GB, free: 2.395 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.01756/1.311, allocations: 4.932 MB / 0.7572 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005042/1.316, allocations: 1.303 MB / 0.7585 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001134/1.317, allocations: 263.2 kB / 0.7588 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002384/1.319, allocations: 0.6177 MB / 0.7594 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=98): time 6.442e-06/1.32, allocations: 0 / 0.7594 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of matching and sorting (n=98): time 0.007759/1.327, allocations: 1.548 MB / 0.7609 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002286/1.328, allocations: 196.9 kB / 0.7611 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003196/1.331, allocations: 0.8426 MB / 0.7619 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003833/1.331, allocations: 41.7 kB / 0.7619 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00119/1.333, allocations: 0.5739 MB / 0.7625 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008491/1.333, allocations: 327.2 kB / 0.7628 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/1.334, allocations: 20 kB / 0.7628 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000278/1.334, allocations: 334 kB / 0.7631 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001399/1.335, allocations: 349.8 kB / 0.7635 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001741/1.337, allocations: 0.5202 MB / 0.764 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/1.339, allocations: 410.8 kB / 0.7644 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.534e-05/1.339, allocations: 4 kB / 0.7644 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.004758/1.343, allocations: 1.098 MB / 0.7654 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.819e-05/1.344, allocations: 12.3 kB / 0.7655 GB, free: 4.504 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/1.344, allocations: 7.984 kB / 0.7655 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009664/1.345, allocations: 88.78 kB / 0.7656 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001823/1.346, allocations: 231.7 kB / 0.7658 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003774/1.35, allocations: 1.544 MB / 0.7673 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0021/1.352, allocations: 138.9 kB / 0.7674 GB, free: 2.359 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002904/1.353, allocations: 39.98 kB / 0.7675 GB, free: 2.32 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.001537/1.354, allocations: 325.5 kB / 0.7678 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006651/1.355, allocations: 118.5 kB / 0.7679 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006009/1.361, allocations: 1.349 MB / 0.7692 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.667e-05/1.361, allocations: 12 kB / 0.7692 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/1.361, allocations: 0 / 0.7692 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-05/1.361, allocations: 7.969 kB / 0.7692 GB, free: 0.4961 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.009861/1.371, allocations: 2.726 MB / 0.7719 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/1.371, allocations: 0 / 0.7719 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001777/1.373, allocations: 219.8 kB / 0.7721 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009044/1.374, allocations: 88.77 kB / 0.7722 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001575/1.374, allocations: 35.97 kB / 0.7722 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003396/1.377, allocations: 1.575 MB / 0.7737 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.377, allocations: 3.938 kB / 0.7737 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005562/1.383, allocations: 1.304 MB / 0.775 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001679/1.385, allocations: 351.2 kB / 0.7754 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007758/1.386, allocations: 20 kB / 0.7754 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002221/1.388, allocations: 105.8 kB / 0.7755 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003845/1.388, allocations: 88.83 kB / 0.7756 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000281/1.389, allocations: 43.97 kB / 0.7756 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00218/1.391, allocations: 0.5825 MB / 0.7762 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.3e-07/1.391, allocations: 0 / 0.7762 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003122/1.394, allocations: 454.9 kB / 0.7766 GB, free: 8.602 MB / 0.6075 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.008577/1.402, allocations: 2.71 MB / 0.7792 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004553/1.407, allocations: 1.031 MB / 0.7803 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.651e-05/1.407, allocations: 7.75 kB / 0.7803 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00206/1.409, allocations: 0.6331 MB / 0.7809 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004351/1.414, allocations: 466.7 kB / 0.7813 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02546/1.439, allocations: 9.008 MB / 0.7901 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001257/1.44, allocations: 1.21 MB / 0.7913 GB, free: 9.355 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002577/1.443, allocations: 373.2 kB / 0.7917 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001166/1.444, allocations: 0.5266 MB / 0.7922 GB, free: 8.461 MB / 0.6231 GB Notification: Performance of SimCode: time 1.433e-06/1.444, allocations: 0 / 0.7922 GB, free: 8.461 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6626/2.107, allocations: 31.66 MB / 0.8231 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002694/2.107, allocations: 250.1 kB / 0.8233 GB, free: 212.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.613/6.72, allocations: 0 / 0.8233 GB, free: 212.1 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/linux/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) Environment - environmentSimulation: