Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001437/0.001438, allocations: 181.9 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4884/0.4884, allocations: 91.98 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 223.2 MB / 354.3 MB, free: 12.18 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008476/0.0008477, allocations: 95.38 kB / 427.4 MB, free: 3.945 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.0003371, allocations: 8 kB / 0.4983 GB, free: 42.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1729, allocations: 72.31 MB / 0.5689 GB, free: 1.852 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.458/5.631, allocations: 1.86 GB / 2.429 GB, free: 22.21 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003658/5.631, allocations: 91.95 kB / 2.429 GB, free: 22.12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.925/7.556, allocations: 410 MB / 2.829 GB, free: 88.04 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.546e-06/7.557, allocations: 4 kB / 2.829 GB, free: 88.04 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002136/7.557, allocations: 39.98 kB / 2.829 GB, free: 88 MB / 0.6042 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.006497/7.563, allocations: 1.784 MB / 2.831 GB, free: 86.19 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.505e-05/7.563, allocations: 12.03 kB / 2.831 GB, free: 86.18 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009458/7.564, allocations: 202.3 kB / 2.831 GB, free: 85.97 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003378/7.568, allocations: 393.7 kB / 2.832 GB, free: 85.58 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003829/7.572, allocations: 1.178 MB / 2.833 GB, free: 84.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/7.572, allocations: 94.62 kB / 2.833 GB, free: 84.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000386/7.572, allocations: 128 kB / 2.833 GB, free: 84.14 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003038/7.575, allocations: 1.443 MB / 2.835 GB, free: 82.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/7.575, allocations: 0 / 2.835 GB, free: 82.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/7.575, allocations: 56 kB / 2.835 GB, free: 82.57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.73e-05/7.575, allocations: 32 kB / 2.835 GB, free: 82.54 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002358/7.578, allocations: 1.532 MB / 2.836 GB, free: 81 MB / 0.6042 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.006845/7.585, allocations: 4.895 MB / 2.841 GB, free: 75.88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002104/7.587, allocations: 1.468 MB / 2.842 GB, free: 74.34 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006368/7.587, allocations: 425.3 kB / 2.843 GB, free: 73.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009597/7.588, allocations: 0.6371 MB / 2.843 GB, free: 73.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=98): time 3.597e-06/7.588, allocations: 0 / 2.843 GB, free: 73.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=98): time 0.003774/7.592, allocations: 1.591 MB / 2.845 GB, free: 71.58 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.148e-05/7.592, allocations: 244.3 kB / 2.845 GB, free: 71.29 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/7.593, allocations: 0.8146 MB / 2.846 GB, free: 70.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.988e-05/7.594, allocations: 49.64 kB / 2.846 GB, free: 70.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004258/7.594, allocations: 0.5662 MB / 2.847 GB, free: 69.82 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002624/7.594, allocations: 319.2 kB / 2.847 GB, free: 69.51 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.897e-05/7.594, allocations: 24 kB / 2.847 GB, free: 69.48 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001024/7.594, allocations: 341.9 kB / 2.847 GB, free: 69.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005958/7.595, allocations: 357.8 kB / 2.848 GB, free: 68.79 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006978/7.596, allocations: 0.5493 MB / 2.848 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006907/7.596, allocations: 438.7 kB / 2.849 GB, free: 67.75 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/7.596, allocations: 4 kB / 2.849 GB, free: 67.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002181/7.599, allocations: 1.13 MB / 2.85 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/7.599, allocations: 4.625 kB / 2.85 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/7.599, allocations: 4 kB / 2.85 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006338/7.599, allocations: 88.89 kB / 2.85 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009905/7.6, allocations: 231.7 kB / 2.85 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001789/7.602, allocations: 1.555 MB / 2.851 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/7.603, allocations: 139 kB / 2.852 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.679e-05/7.603, allocations: 43.58 kB / 2.852 GB, free: 64.41 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (110): * Single equations (assignments): 109 * 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.0007324/7.604, allocations: 329.5 kB / 2.852 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/7.604, allocations: 114.6 kB / 2.852 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002662/7.607, allocations: 1.38 MB / 2.853 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/7.607, allocations: 12 kB / 2.853 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/7.607, allocations: 0 / 2.853 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/7.607, allocations: 8.016 kB / 2.853 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004172/7.611, allocations: 2.728 MB / 2.856 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/7.611, allocations: 0 / 2.856 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009229/7.612, allocations: 223.7 kB / 2.856 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004866/7.613, allocations: 88.72 kB / 2.856 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-05/7.613, allocations: 31.97 kB / 2.856 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001528/7.614, allocations: 1.571 MB / 2.858 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/7.614, allocations: 0 / 2.858 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002197/7.616, allocations: 1.261 MB / 2.859 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006494/7.617, allocations: 367.2 kB / 2.86 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/7.617, allocations: 20 kB / 2.86 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008966/7.618, allocations: 115.8 kB / 2.86 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/7.618, allocations: 68.91 kB / 2.86 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.854e-05/7.618, allocations: 51.89 kB / 2.86 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0008057/7.619, allocations: 0.6334 MB / 2.86 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/7.619, allocations: 2.734 kB / 2.86 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00202/7.621, allocations: 0.6159 MB / 2.861 GB, free: 54.54 MB / 0.6042 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.005716/7.627, allocations: 3.605 MB / 2.865 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002055/7.629, allocations: 1.07 MB / 2.866 GB, free: 49.96 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/7.629, allocations: 4 kB / 2.866 GB, free: 49.96 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009908/7.63, allocations: 0.6485 MB / 2.866 GB, free: 49.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002143/7.632, allocations: 464.6 kB / 2.867 GB, free: 48.85 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01306/7.645, allocations: 8.988 MB / 2.875 GB, free: 39.57 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006087/7.646, allocations: 1.206 MB / 2.877 GB, free: 38.33 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00157/7.647, allocations: 385.2 kB / 2.877 GB, free: 37.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000683/7.648, allocations: 0.5265 MB / 2.877 GB, free: 37.43 MB / 0.6042 GB Notification: Performance of SimCode: time 1.402e-06/7.648, allocations: 0 / 2.877 GB, free: 37.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5537/8.202, allocations: 53.65 MB / 2.93 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002079/8.202, allocations: 259.4 kB / 2.93 GB, free: 116.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.979/12.18, allocations: 0 / 2.93 GB, free: 116.4 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)