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.001187/0.001187, allocations: 178.3 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5158/0.5158, allocations: 90.91 MB / 99.34 MB, free: 2.184 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 221.5 MB / 343.2 MB, free: 1.543 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 106.5 kB / 415.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.661e-05/2.675e-05, allocations: 4 kB / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1373, allocations: 72.3 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.603/4.74, allocations: 1.859 GB / 2.413 GB, free: 72.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/4.74, allocations: 88.97 kB / 2.413 GB, free: 72.11 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.622/6.362, allocations: 404.8 MB / 2.808 GB, free: 123.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.515e-06/6.362, allocations: 0 / 2.808 GB, free: 123.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001762/6.362, allocations: 40.41 kB / 2.808 GB, free: 123.2 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.004664/6.367, allocations: 1.619 MB / 2.81 GB, free: 122.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/6.367, allocations: 10.69 kB / 2.81 GB, free: 122.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00311/6.37, allocations: 396.8 kB / 2.81 GB, free: 122.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003319/6.374, allocations: 1.162 MB / 2.812 GB, free: 122 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.671e-05/6.374, allocations: 46.94 kB / 2.812 GB, free: 122 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003706/6.374, allocations: 77.5 kB / 2.812 GB, free: 122 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002707/6.377, allocations: 1.37 MB / 2.813 GB, free: 122 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002778/6.38, allocations: 1.203 MB / 2.814 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.41e-05/6.38, allocations: 6.375 kB / 2.814 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001925/6.38, allocations: 3.594 kB / 2.814 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/6.38, allocations: 38.5 kB / 2.814 GB, free: 121.8 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.007737/6.388, allocations: 4.613 MB / 2.819 GB, free: 119.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002259/6.39, allocations: 1.33 MB / 2.82 GB, free: 119.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006485/6.391, allocations: 409.8 kB / 2.82 GB, free: 119.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007233/6.391, allocations: 423.3 kB / 2.821 GB, free: 119 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008775/6.392, allocations: 0.5754 MB / 2.821 GB, free: 119 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=98): time 3.857e-06/6.392, allocations: 0 / 2.821 GB, free: 119 MB / 0.6042 GB Notification: Performance of matching and sorting (n=98): time 0.002868/6.395, allocations: 1.045 MB / 2.822 GB, free: 118.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.496e-05/6.395, allocations: 242.3 kB / 2.823 GB, free: 118.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/6.396, allocations: 0.6099 MB / 2.823 GB, free: 118.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001446/6.396, allocations: 33.86 kB / 2.823 GB, free: 118.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004863/6.397, allocations: 0.575 MB / 2.824 GB, free: 118.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002589/6.397, allocations: 313.2 kB / 2.824 GB, free: 117.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.894e-05/6.397, allocations: 3.25 kB / 2.824 GB, free: 117.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.317e-05/6.397, allocations: 350.2 kB / 2.824 GB, free: 117.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004426/6.398, allocations: 309.9 kB / 2.825 GB, free: 117.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005769/6.398, allocations: 0.4903 MB / 2.825 GB, free: 117.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/6.4, allocations: 481.7 kB / 2.826 GB, free: 117.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/6.4, allocations: 7.047 kB / 2.826 GB, free: 117.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00254/6.402, allocations: 1.09 MB / 2.827 GB, free: 117.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/6.402, allocations: 5.031 kB / 2.827 GB, free: 117.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/6.402, allocations: 13.62 kB / 2.827 GB, free: 117.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005819/6.403, allocations: 84.75 kB / 2.827 GB, free: 117.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/6.404, allocations: 229.7 kB / 2.827 GB, free: 117.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0017/6.405, allocations: 1.478 MB / 2.828 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/6.407, allocations: 100 kB / 2.829 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001461/6.407, allocations: 43.5 kB / 2.829 GB, free: 115.8 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 () * 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.0003112/6.407, allocations: 125.3 kB / 2.829 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002646/6.41, allocations: 1.022 MB / 2.83 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003481/6.41, allocations: 98.19 kB / 2.83 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003082/6.413, allocations: 1.336 MB / 2.831 GB, free: 114.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/6.413, allocations: 10.94 kB / 2.831 GB, free: 114.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/6.413, allocations: 0 / 2.831 GB, free: 114.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/6.413, allocations: 9.844 kB / 2.831 GB, free: 114.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005005/6.418, allocations: 2.514 MB / 2.834 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/6.418, allocations: 0 / 2.834 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000992/6.419, allocations: 220.1 kB / 2.834 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005041/6.42, allocations: 91.23 kB / 2.834 GB, free: 113 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.831e-05/6.42, allocations: 19.78 kB / 2.834 GB, free: 113 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001501/6.422, allocations: 1.488 MB / 2.835 GB, free: 111.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/6.422, allocations: 3.562 kB / 2.835 GB, free: 111.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002571/6.424, allocations: 1.215 MB / 2.837 GB, free: 111 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007071/6.425, allocations: 358.9 kB / 2.837 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002868/6.425, allocations: 2.562 kB / 2.837 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/6.426, allocations: 84.64 kB / 2.837 GB, free: 110.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/6.426, allocations: 79.23 kB / 2.837 GB, free: 110.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/6.427, allocations: 45.94 kB / 2.837 GB, free: 110.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007671/6.427, allocations: 495.9 kB / 2.838 GB, free: 110.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.9e-07/6.427, allocations: 3.938 kB / 2.838 GB, free: 110.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002142/6.429, allocations: 0.5547 MB / 2.838 GB, free: 110.1 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) * 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.006677/6.436, allocations: 3.663 MB / 2.842 GB, free: 108.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001965/6.438, allocations: 0.9527 MB / 2.843 GB, free: 107.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/6.438, allocations: 3.938 kB / 2.843 GB, free: 107.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/6.439, allocations: 0.5975 MB / 2.843 GB, free: 107.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002215/6.441, allocations: 372.8 kB / 2.844 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006452/6.448, allocations: 2.064 MB / 2.846 GB, free: 105.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/6.449, allocations: 1.207 MB / 2.847 GB, free: 103.9 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001672/6.451, allocations: 365.1 kB / 2.847 GB, free: 103.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008673/6.452, allocations: 0.5343 MB / 2.848 GB, free: 103.1 MB / 0.6042 GB Notification: Performance of SimCode: time 8.21e-07/6.452, allocations: 3.844 kB / 2.848 GB, free: 103.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08365/6.535, allocations: 39.19 MB / 2.886 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001879/6.535, allocations: 177.1 kB / 2.886 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.44/9.976, allocations: 0 / 2.886 GB, free: 64.62 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)