Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8565/0.8565, allocations: 141.8 MB / 149.3 MB, free: 9.211 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 180.6 kB / 182.2 MB, free: 9.441 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 221.5 MB / 436.4 MB, free: 13.28 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008968/0.000897, allocations: 91.86 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00174/0.00174, allocations: 297.1 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.012e-05/2.004e-05, allocations: 4 kB / 0.6766 GB, free: 12.72 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5377/0.5378, allocations: 82.78 MB / 0.7575 GB, free: 31.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.503/5.041, allocations: 1.866 GB / 2.624 GB, free: 151.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/5.042, allocations: 86.2 kB / 2.624 GB, free: 151.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.25/6.292, allocations: 404.8 MB / 3.019 GB, free: 30.84 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.577e-06/6.292, allocations: 4 kB / 3.019 GB, free: 30.84 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.00013/6.292, allocations: 40.09 kB / 3.019 GB, free: 30.8 MB / 0.698 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.003874/6.296, allocations: 1.614 MB / 3.021 GB, free: 29.13 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/6.296, allocations: 8.031 kB / 3.021 GB, free: 29.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002814/6.299, allocations: 394.6 kB / 3.021 GB, free: 28.74 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002992/6.302, allocations: 1.161 MB / 3.022 GB, free: 27.53 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.395e-05/6.302, allocations: 44 kB / 3.022 GB, free: 27.49 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/6.302, allocations: 79.98 kB / 3.022 GB, free: 27.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002123/6.304, allocations: 1.387 MB / 3.024 GB, free: 26.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001891/6.306, allocations: 1.198 MB / 3.025 GB, free: 24.75 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/6.306, allocations: 3.938 kB / 3.025 GB, free: 24.74 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/6.306, allocations: 4 kB / 3.025 GB, free: 24.74 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/6.306, allocations: 32 kB / 3.025 GB, free: 24.71 MB / 0.698 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.006288/6.312, allocations: 4.619 MB / 3.03 GB, free: 19.88 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/6.314, allocations: 1.335 MB / 3.031 GB, free: 18.46 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004615/6.314, allocations: 407.5 kB / 3.031 GB, free: 18.05 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006154/6.315, allocations: 429.1 kB / 3.032 GB, free: 17.56 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007392/6.316, allocations: 0.566 MB / 3.032 GB, free: 16.98 MB / 0.698 GB Notification: Performance of pre-optimization done (n=98): time 2.305e-06/6.316, allocations: 4 kB / 3.032 GB, free: 16.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=98): time 0.002554/6.318, allocations: 1.05 MB / 3.033 GB, free: 15.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.292e-05/6.318, allocations: 244.1 kB / 3.033 GB, free: 15.62 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007655/6.319, allocations: 0.6135 MB / 3.034 GB, free: 15 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.974e-05/6.319, allocations: 29.7 kB / 3.034 GB, free: 14.96 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003931/6.32, allocations: 0.5735 MB / 3.035 GB, free: 14.38 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002454/6.32, allocations: 315.3 kB / 3.035 GB, free: 14.07 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.591e-05/6.32, allocations: 0 / 3.035 GB, free: 14.07 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.611e-05/6.32, allocations: 345.9 kB / 3.035 GB, free: 13.72 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003906/6.321, allocations: 310.5 kB / 3.036 GB, free: 13.42 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004985/6.321, allocations: 0.4993 MB / 3.036 GB, free: 12.85 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009826/6.322, allocations: 486.7 kB / 3.037 GB, free: 12.38 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/6.322, allocations: 0 / 3.037 GB, free: 12.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00219/6.324, allocations: 1.09 MB / 3.038 GB, free: 11.28 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/6.324, allocations: 4 kB / 3.038 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/6.324, allocations: 4.375 kB / 3.038 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005894/6.325, allocations: 88.77 kB / 3.038 GB, free: 11.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000997/6.326, allocations: 235.7 kB / 3.038 GB, free: 10.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001781/6.328, allocations: 1.461 MB / 3.039 GB, free: 9.363 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/6.329, allocations: 107.2 kB / 3.039 GB, free: 9.258 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.576e-05/6.329, allocations: 43.98 kB / 3.039 GB, free: 9.215 MB / 0.698 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.0003199/6.329, allocations: 124.8 kB / 3.04 GB, free: 9.086 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002467/6.332, allocations: 1.031 MB / 3.041 GB, free: 8.043 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/6.332, allocations: 106.7 kB / 3.041 GB, free: 7.938 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002797/6.335, allocations: 1.328 MB / 3.042 GB, free: 6.594 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/6.335, allocations: 12 kB / 3.042 GB, free: 6.582 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/6.335, allocations: 0 / 3.042 GB, free: 6.582 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/6.335, allocations: 7.969 kB / 3.042 GB, free: 6.574 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004034/6.339, allocations: 2.517 MB / 3.044 GB, free: 4.008 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/6.339, allocations: 0 / 3.044 GB, free: 4.008 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000939/6.34, allocations: 223.7 kB / 3.045 GB, free: 3.789 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004715/6.34, allocations: 80.78 kB / 3.045 GB, free: 3.707 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.288e-05/6.341, allocations: 19.97 kB / 3.045 GB, free: 3.688 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/6.342, allocations: 1.489 MB / 3.046 GB, free: 2.074 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/6.342, allocations: 4 kB / 3.046 GB, free: 2.07 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00227/6.344, allocations: 1.227 MB / 3.047 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005285/6.345, allocations: 351.4 kB / 3.048 GB, free: 472 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/6.345, allocations: 0 / 3.048 GB, free: 472 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008319/6.346, allocations: 83.83 kB / 3.048 GB, free: 388 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/6.346, allocations: 73.2 kB / 3.048 GB, free: 316 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.358e-05/6.346, allocations: 43.97 kB / 3.048 GB, free: 272 kB / 0.698 GB Notification: Performance of sorting global known variables: time 0.4809/6.827, allocations: 490.7 kB / 3.048 GB, free: 147.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.573e-06/6.827, allocations: 0 / 3.048 GB, free: 147.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002765/6.83, allocations: 0.5596 MB / 3.049 GB, free: 147.6 MB / 0.698 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.007212/6.837, allocations: 3.679 MB / 3.053 GB, free: 146.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002182/6.839, allocations: 0.9518 MB / 3.053 GB, free: 146.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/6.839, allocations: 1.125 kB / 3.053 GB, free: 146.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001064/6.84, allocations: 0.5897 MB / 3.054 GB, free: 146.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002127/6.842, allocations: 363 kB / 3.054 GB, free: 146.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005857/6.848, allocations: 2.067 MB / 3.056 GB, free: 145.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007947/6.849, allocations: 1.207 MB / 3.058 GB, free: 145.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001553/6.851, allocations: 359.9 kB / 3.058 GB, free: 145.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006768/6.851, allocations: 0.5349 MB / 3.058 GB, free: 145.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.072e-06/6.851, allocations: 0 / 3.058 GB, free: 145.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07269/6.924, allocations: 39.24 MB / 3.097 GB, free: 144.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002359/6.924, allocations: 208.1 kB / 3.097 GB, free: 143.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.523/10.45, allocations: 0 / 3.097 GB, free: 143.9 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)