Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6963/0.6963, allocations: 127.3 MB / 139.8 MB, free: 15.43 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0012/0.0012, allocations: 172.8 kB / 169.7 MB, free: 1.734 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.1 MB / 404.5 MB, free: 1.574 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009168/0.0009168, allocations: 86.22 kB / 481.8 MB, free: 4.227 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.615e-05/3.627e-05, allocations: 4 kB / 0.5533 GB, free: 54.72 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1584, allocations: 76.76 MB / 0.6282 GB, free: 9.902 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.693/4.851, allocations: 2.177 GB / 2.805 GB, free: 149.4 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/4.851, allocations: 87.95 kB / 2.805 GB, free: 149.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.107/5.958, allocations: 398.4 MB / 3.194 GB, free: 5.395 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.153e-06/5.958, allocations: 0 / 3.194 GB, free: 5.395 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001247/5.958, allocations: 39.92 kB / 3.194 GB, free: 5.355 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.00361/5.962, allocations: 1.584 MB / 3.196 GB, free: 3.715 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/5.962, allocations: 15.97 kB / 3.196 GB, free: 3.699 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003493/5.962, allocations: 190.1 kB / 3.196 GB, free: 3.504 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003575/5.966, allocations: 0.5014 MB / 3.197 GB, free: 3 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/5.967, allocations: 0.8052 MB / 3.197 GB, free: 2.148 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.109e-05/5.967, allocations: 98.56 kB / 3.197 GB, free: 2.051 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000222/5.968, allocations: 124 kB / 3.198 GB, free: 1.93 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002227/5.97, allocations: 1.359 MB / 3.199 GB, free: 0.5039 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/5.97, allocations: 4 kB / 3.199 GB, free: 0.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001394/5.97, allocations: 63.95 kB / 3.199 GB, free: 448 kB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/5.97, allocations: 32 kB / 3.199 GB, free: 416 kB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3859/6.356, allocations: 1.464 MB / 3.2 GB, free: 121.2 MB / 0.6511 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.009998/6.366, allocations: 4.902 MB / 3.205 GB, free: 119.1 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002532/6.369, allocations: 1.216 MB / 3.206 GB, free: 118.9 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009029/6.37, allocations: 432.9 kB / 3.207 GB, free: 118.9 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00117/6.371, allocations: 0.75 MB / 3.207 GB, free: 118.1 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001206/6.372, allocations: 0.6082 MB / 3.208 GB, free: 118 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=98): time 3.627e-06/6.372, allocations: 0 / 3.208 GB, free: 118 MB / 0.6511 GB Notification: Performance of matching and sorting (n=98): time 0.00268/6.375, allocations: 0.972 MB / 3.209 GB, free: 117.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.84e-05/6.375, allocations: 172.2 kB / 3.209 GB, free: 117.7 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/6.376, allocations: 0.7207 MB / 3.21 GB, free: 117.6 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001282/6.376, allocations: 47.36 kB / 3.21 GB, free: 117.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003932/6.376, allocations: 0.5199 MB / 3.21 GB, free: 117.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002408/6.377, allocations: 327.8 kB / 3.211 GB, free: 117.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.709e-05/6.377, allocations: 20.62 kB / 3.211 GB, free: 117.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.42e-05/6.377, allocations: 340 kB / 3.211 GB, free: 116.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004956/6.377, allocations: 335.4 kB / 3.211 GB, free: 116.9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005432/6.378, allocations: 489.4 kB / 3.212 GB, free: 116.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00058/6.378, allocations: 419.8 kB / 3.212 GB, free: 116.7 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/6.378, allocations: 7.141 kB / 3.212 GB, free: 116.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.002368/6.381, allocations: 1.084 MB / 3.213 GB, free: 116.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.953e-05/6.381, allocations: 33.42 kB / 3.213 GB, free: 116.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/6.381, allocations: 5.391 kB / 3.213 GB, free: 116.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006044/6.382, allocations: 87.7 kB / 3.213 GB, free: 116.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/6.383, allocations: 234.6 kB / 3.214 GB, free: 116.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001914/6.385, allocations: 1.532 MB / 3.215 GB, free: 115.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/6.386, allocations: 148.3 kB / 3.215 GB, free: 115.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001481/6.386, allocations: 48.56 kB / 3.215 GB, free: 115.2 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart,senMasFra.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 1 * 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.0003053/6.386, allocations: 168.5 kB / 3.216 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003443/6.387, allocations: 108.3 kB / 3.216 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003213/6.39, allocations: 1.248 MB / 3.217 GB, free: 115 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/6.39, allocations: 15.61 kB / 3.217 GB, free: 115 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/6.39, allocations: 7.281 kB / 3.217 GB, free: 115 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.738e-05/6.39, allocations: 5.578 kB / 3.217 GB, free: 115 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00532/6.395, allocations: 2.483 MB / 3.219 GB, free: 114.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/6.395, allocations: 0 / 3.219 GB, free: 114.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/6.397, allocations: 216.6 kB / 3.22 GB, free: 114.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005418/6.397, allocations: 87.38 kB / 3.22 GB, free: 114.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/6.397, allocations: 31.41 kB / 3.22 GB, free: 114.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001695/6.399, allocations: 1.552 MB / 3.221 GB, free: 113.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/6.399, allocations: 4.062 kB / 3.221 GB, free: 113.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002476/6.401, allocations: 1.143 MB / 3.222 GB, free: 113.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007848/6.402, allocations: 366.9 kB / 3.223 GB, free: 112.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002416/6.402, allocations: 20.53 kB / 3.223 GB, free: 112.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/6.404, allocations: 101.9 kB / 3.223 GB, free: 112.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/6.404, allocations: 73.47 kB / 3.223 GB, free: 112.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/6.404, allocations: 45.58 kB / 3.223 GB, free: 112.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001024/6.405, allocations: 0.5691 MB / 3.223 GB, free: 112.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.2e-07/6.405, allocations: 1.594 kB / 3.223 GB, free: 112.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00238/6.407, allocations: 0.6051 MB / 3.224 GB, free: 112.8 MB / 0.6511 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.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 102 * 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.006645/6.414, allocations: 3.44 MB / 3.227 GB, free: 111.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002239/6.416, allocations: 1.039 MB / 3.228 GB, free: 111.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/6.416, allocations: 1.75 kB / 3.228 GB, free: 111.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001204/6.418, allocations: 0.5941 MB / 3.229 GB, free: 111.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002509/6.42, allocations: 403.1 kB / 3.229 GB, free: 111.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006915/6.427, allocations: 2.107 MB / 3.231 GB, free: 110.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/6.428, allocations: 1.181 MB / 3.233 GB, free: 110.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002051/6.43, allocations: 366.5 kB / 3.233 GB, free: 110.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008525/6.431, allocations: 496.3 kB / 3.233 GB, free: 110.2 MB / 0.6511 GB Notification: Performance of SimCode: time 1.442e-06/6.431, allocations: 0 / 3.233 GB, free: 110.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1324/6.563, allocations: 54.79 MB / 3.287 GB, free: 108.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001609/6.564, allocations: 242.9 kB / 3.287 GB, free: 108.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.886/10.45, allocations: 0 / 3.287 GB, free: 108.1 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)