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.001017/0.001017, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001277/0.001277, allocations: 172.7 kB / 15.95 MB, free: 208 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.351/1.351, allocations: 223.3 MB / 240 MB, free: 5.219 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7577/0.7577, allocations: 132.3 MB / 423.4 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000386/0.0003861, allocations: 8 kB / 0.5035 GB, free: 4.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5034/0.5038, allocations: 81.56 MB / 0.5831 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1786/0.6824, allocations: 159.7 MB / 0.7391 GB, free: 432 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01425/0.6967, allocations: 11.72 MB / 0.7506 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.6978, allocations: 23.88 kB / 0.7506 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009477/0.6987, allocations: 309.7 kB / 0.7509 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002184/0.7009, allocations: 0.7728 MB / 0.7517 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003731/0.7047, allocations: 1.34 MB / 0.753 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002629/0.7073, allocations: 2.306 MB / 0.7552 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001448/0.7088, allocations: 1.157 MB / 0.7563 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002012/0.7108, allocations: 1.004 MB / 0.7573 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007943/0.7116, allocations: 0.6337 MB / 0.7579 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.7117, allocations: 40 kB / 0.758 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001914/0.7136, allocations: 0.8774 MB / 0.7588 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002887/0.7139, allocations: 314.8 kB / 0.7591 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002778/0.7142, allocations: 284.9 kB / 0.7594 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002655/0.7169, allocations: 1.828 MB / 0.7612 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.7169, allocations: 0 / 0.7612 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.725e-06/0.7169, allocations: 0 / 0.7612 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.727e-05/0.717, allocations: 0 / 0.7612 GB, free: 9.75 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.002925/0.7199, allocations: 1.611 MB / 0.7628 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.7199, allocations: 12.03 kB / 0.7628 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002201/0.7202, allocations: 194.3 kB / 0.763 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002339/0.7225, allocations: 405.7 kB / 0.7634 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.7238, allocations: 0.9299 MB / 0.7643 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.797e-05/0.7239, allocations: 98.62 kB / 0.7644 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/0.7241, allocations: 128 kB / 0.7645 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002284/0.7264, allocations: 1.447 MB / 0.7659 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.7264, allocations: 0 / 0.7659 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/0.7265, allocations: 71.92 kB / 0.766 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.47e-05/0.7266, allocations: 32 kB / 0.766 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00239/0.729, allocations: 1.524 MB / 0.7675 GB, free: 3.121 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.006283/0.7352, allocations: 4.934 MB / 0.7723 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002164/0.7374, allocations: 1.424 MB / 0.7737 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007445/0.7382, allocations: 456.3 kB / 0.7741 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006987/0.7389, allocations: 433.4 kB / 0.7745 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001057/0.74, allocations: 0.6217 MB / 0.7751 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=98): time 2.835e-06/0.74, allocations: 3.938 kB / 0.7751 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=98): time 0.0035/0.7435, allocations: 1.543 MB / 0.7767 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.7436, allocations: 196.9 kB / 0.7768 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.7447, allocations: 0.8427 MB / 0.7777 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.922e-05/0.7448, allocations: 41.7 kB / 0.7777 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004595/0.7453, allocations: 0.5778 MB / 0.7783 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002513/0.7456, allocations: 327.2 kB / 0.7786 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.177e-05/0.7456, allocations: 16 kB / 0.7786 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.7457, allocations: 338 kB / 0.7789 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006334/0.7464, allocations: 349.7 kB / 0.7793 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007715/0.7472, allocations: 0.532 MB / 0.7798 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007432/0.7479, allocations: 422.8 kB / 0.7802 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.7479, allocations: 0 / 0.7802 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002227/0.7502, allocations: 1.11 MB / 0.7813 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.7502, allocations: 4 kB / 0.7813 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.7502, allocations: 4 kB / 0.7813 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005196/0.7507, allocations: 93.11 kB / 0.7814 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009708/0.7517, allocations: 227.7 kB / 0.7816 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002082/0.7538, allocations: 1.54 MB / 0.7831 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009666/0.7548, allocations: 143 kB / 0.7832 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.338e-05/0.7549, allocations: 43.97 kB / 0.7833 GB, free: 2.203 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.0006336/0.7555, allocations: 321.6 kB / 0.7836 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.7557, allocations: 126.5 kB / 0.7837 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002768/0.7585, allocations: 1.338 MB / 0.785 GB, free: 416 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.7585, allocations: 12 kB / 0.785 GB, free: 404 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.7585, allocations: 0 / 0.785 GB, free: 404 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.998e-05/0.7585, allocations: 11.97 kB / 0.785 GB, free: 392 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.004209/0.7628, allocations: 2.697 MB / 0.7876 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.7628, allocations: 0 / 0.7876 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009259/0.7637, allocations: 215.7 kB / 0.7878 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004694/0.7642, allocations: 92.77 kB / 0.7879 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.912e-05/0.7643, allocations: 27.98 kB / 0.788 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001777/0.7661, allocations: 1.559 MB / 0.7895 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.7661, allocations: 4.062 kB / 0.7895 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002286/0.7684, allocations: 1.226 MB / 0.7907 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005432/0.7689, allocations: 351.2 kB / 0.791 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.7691, allocations: 24 kB / 0.791 GB, free: 9.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000805/0.7699, allocations: 101.5 kB / 0.7911 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.77, allocations: 72.89 kB / 0.7912 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/0.7701, allocations: 47.95 kB / 0.7913 GB, free: 9.711 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008345/0.771, allocations: 0.5902 MB / 0.7918 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.31e-07/0.771, allocations: 7.938 kB / 0.7918 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001306/0.7723, allocations: 450.9 kB / 0.7923 GB, free: 8.66 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 (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.004059/0.7764, allocations: 2.363 MB / 0.7946 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002078/0.7785, allocations: 1.035 MB / 0.7956 GB, free: 5.453 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/0.7785, allocations: 7.75 kB / 0.7956 GB, free: 5.445 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.7796, allocations: 0.629 MB / 0.7962 GB, free: 4.809 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001942/0.7815, allocations: 477.7 kB / 0.7967 GB, free: 4.352 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0125/0.794, allocations: 7.08 MB / 0.8036 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00076/0.7949, allocations: 1.175 MB / 0.8047 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001482/0.7963, allocations: 377.2 kB / 0.8051 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007621/0.7971, allocations: 0.5227 MB / 0.8056 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of SimCode: time 5.21e-07/0.7971, allocations: 0 / 0.8056 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3594/1.157, allocations: 31.81 MB / 0.8367 GB, free: 208.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001568/1.157, allocations: 261.5 kB / 0.8369 GB, free: 208.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.671/3.828, allocations: 1.156 kB / 0.8369 GB, free: 208.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: