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.6997/0.6997, allocations: 127.4 MB / 134.9 MB, free: 3.723 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001157/0.001157, allocations: 184.9 kB / 164.7 MB, free: 6.516 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.62/1.62, allocations: 205.2 MB / 399.5 MB, free: 5.875 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.00123/0.00123, allocations: 102.8 kB / 476.7 MB, free: 8.594 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.291e-05/3.316e-05, allocations: 4 kB / 0.5467 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1689, allocations: 76.76 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.97/5.139, allocations: 2.176 GB / 2.798 GB, free: 28.19 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/5.139, allocations: 86.7 kB / 2.798 GB, free: 28.15 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.469/6.609, allocations: 393.9 MB / 3.183 GB, free: 123.5 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.843e-06/6.609, allocations: 0 / 3.183 GB, free: 123.5 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001105/6.609, allocations: 37.52 kB / 3.183 GB, free: 123.5 MB / 0.6355 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.003375/6.612, allocations: 1.587 MB / 3.184 GB, free: 122.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/6.612, allocations: 9.875 kB / 3.184 GB, free: 122.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003501/6.616, allocations: 0.4991 MB / 3.185 GB, free: 122.1 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/6.618, allocations: 0.8007 MB / 3.186 GB, free: 121.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.982e-05/6.618, allocations: 41.09 kB / 3.186 GB, free: 121.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/6.618, allocations: 78.39 kB / 3.186 GB, free: 121.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002138/6.62, allocations: 1.389 MB / 3.187 GB, free: 120.8 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/6.622, allocations: 1.185 MB / 3.188 GB, free: 119.9 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/6.622, allocations: 0 / 3.188 GB, free: 119.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/6.622, allocations: 4 kB / 3.188 GB, free: 119.9 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.281e-05/6.622, allocations: 28 kB / 3.188 GB, free: 119.8 MB / 0.6355 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.006566/6.629, allocations: 4.654 MB / 3.193 GB, free: 115 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/6.63, allocations: 1.154 MB / 3.194 GB, free: 113.8 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004553/6.631, allocations: 408.2 kB / 3.194 GB, free: 113.4 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000971/6.631, allocations: 0.7565 MB / 3.195 GB, free: 112.6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007663/6.632, allocations: 0.5811 MB / 3.196 GB, free: 112 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=98): time 3.056e-06/6.632, allocations: 0 / 3.196 GB, free: 112 MB / 0.6355 GB Notification: Performance of matching and sorting (n=98): time 0.005509/6.638, allocations: 1.376 MB / 3.197 GB, free: 110.6 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/6.638, allocations: 167 kB / 3.197 GB, free: 110.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007894/6.639, allocations: 0.5623 MB / 3.198 GB, free: 109.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001217/6.639, allocations: 33.7 kB / 3.198 GB, free: 109.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003911/6.639, allocations: 0.5331 MB / 3.198 GB, free: 109.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000286/6.64, allocations: 315.3 kB / 3.199 GB, free: 108.9 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.788e-05/6.64, allocations: 0 / 3.199 GB, free: 108.9 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001442/6.64, allocations: 394.7 kB / 3.199 GB, free: 108.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004199/6.64, allocations: 298.6 kB / 3.199 GB, free: 108.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005065/6.641, allocations: 480.5 kB / 3.2 GB, free: 107.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003974/6.645, allocations: 0.8358 MB / 3.201 GB, free: 106.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/6.645, allocations: 4 kB / 3.201 GB, free: 106.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.005348/6.65, allocations: 1.45 MB / 3.202 GB, free: 105.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.9e-05/6.65, allocations: 33.7 kB / 3.202 GB, free: 105.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/6.65, allocations: 4 kB / 3.202 GB, free: 105.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000555/6.651, allocations: 88.8 kB / 3.202 GB, free: 105.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/6.652, allocations: 231.7 kB / 3.202 GB, free: 105.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/6.653, allocations: 1.472 MB / 3.204 GB, free: 103.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/6.654, allocations: 107.2 kB / 3.204 GB, free: 103.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/6.655, allocations: 47.92 kB / 3.204 GB, free: 103.4 MB / 0.6355 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.0002664/6.655, allocations: 137.5 kB / 3.204 GB, free: 103.2 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005189/6.66, allocations: 1.355 MB / 3.205 GB, free: 101.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/6.66, allocations: 98.83 kB / 3.205 GB, free: 101.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005515/6.666, allocations: 1.654 MB / 3.207 GB, free: 100.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/6.666, allocations: 12 kB / 3.207 GB, free: 100.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/6.666, allocations: 4 kB / 3.207 GB, free: 100.1 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/6.666, allocations: 3.984 kB / 3.207 GB, free: 100.1 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006911/6.673, allocations: 2.734 MB / 3.21 GB, free: 97.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/6.673, allocations: 3.938 kB / 3.21 GB, free: 97.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009869/6.674, allocations: 223.7 kB / 3.21 GB, free: 97.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004614/6.674, allocations: 80.78 kB / 3.21 GB, free: 97.02 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.226e-05/6.674, allocations: 19.97 kB / 3.21 GB, free: 97 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001447/6.676, allocations: 1.492 MB / 3.212 GB, free: 95.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/6.676, allocations: 0 / 3.212 GB, free: 95.39 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005445/6.681, allocations: 1.543 MB / 3.213 GB, free: 93.82 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006635/6.682, allocations: 358.3 kB / 3.213 GB, free: 93.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/6.682, allocations: 3.984 kB / 3.213 GB, free: 93.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009581/6.683, allocations: 87.75 kB / 3.213 GB, free: 93.37 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/6.683, allocations: 69.22 kB / 3.214 GB, free: 93.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/6.683, allocations: 56.02 kB / 3.214 GB, free: 93.25 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005542/6.684, allocations: 447.1 kB / 3.214 GB, free: 92.81 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.1e-07/6.684, allocations: 0 / 3.214 GB, free: 92.81 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001791/6.686, allocations: 0.5356 MB / 3.215 GB, free: 92.28 MB / 0.6355 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.008557/6.694, allocations: 3.978 MB / 3.218 GB, free: 88.56 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00163/6.696, allocations: 0.9912 MB / 3.219 GB, free: 87.55 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/6.696, allocations: 5.188 kB / 3.219 GB, free: 87.54 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000765/6.697, allocations: 0.5689 MB / 3.22 GB, free: 86.96 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/6.699, allocations: 324.2 kB / 3.22 GB, free: 86.66 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00519/6.704, allocations: 2.01 MB / 3.222 GB, free: 84.61 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005187/6.704, allocations: 1.18 MB / 3.223 GB, free: 83.41 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001509/6.706, allocations: 358.2 kB / 3.224 GB, free: 83.07 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006601/6.706, allocations: 495.2 kB / 3.224 GB, free: 82.59 MB / 0.6355 GB Notification: Performance of SimCode: time 1.052e-06/6.706, allocations: 0 / 3.224 GB, free: 82.59 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0719/6.778, allocations: 37 MB / 3.26 GB, free: 45.96 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/6.779, allocations: 180.9 kB / 3.26 GB, free: 45.77 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.346/10.12, allocations: 0 / 3.26 GB, free: 45.77 MB / 0.6355 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)