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: translateModel(BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8041/0.8041, allocations: 127.4 MB / 134.9 MB, free: 3.477 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.001128/0.001128, allocations: 187.1 kB / 164.6 MB, free: 11.62 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.58/1.58, allocations: 205.2 MB / 399.5 MB, free: 13.52 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.0009235/0.0009235, allocations: 80.44 kB / 476.7 MB, free: 1.48 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.589e-05/1.592e-05, allocations: 4.562 kB / 0.5466 GB, free: 95.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1458, allocations: 76.77 MB / 0.6215 GB, free: 43.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.95/5.096, allocations: 2.176 GB / 2.798 GB, free: 248.8 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/5.096, allocations: 90.16 kB / 2.798 GB, free: 248.8 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.054/6.15, allocations: 394.1 MB / 3.183 GB, free: 115.6 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.493e-06/6.15, allocations: 0 / 3.183 GB, free: 115.6 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.577e-05/6.15, allocations: 40 kB / 3.183 GB, free: 115.5 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.002839/6.153, allocations: 1.58 MB / 3.184 GB, free: 114 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/6.153, allocations: 12.03 kB / 3.184 GB, free: 113.9 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003252/6.156, allocations: 0.4935 MB / 3.185 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/6.158, allocations: 0.8072 MB / 3.186 GB, free: 112.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.054e-05/6.158, allocations: 40 kB / 3.186 GB, free: 112.6 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/6.158, allocations: 80 kB / 3.186 GB, free: 112.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00185/6.16, allocations: 1.379 MB / 3.187 GB, free: 111.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/6.161, allocations: 1.181 MB / 3.188 GB, free: 109.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/6.161, allocations: 3.938 kB / 3.188 GB, free: 109.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/6.161, allocations: 5.375 kB / 3.188 GB, free: 109.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/6.161, allocations: 36 kB / 3.188 GB, free: 109.8 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.005596/6.167, allocations: 4.666 MB / 3.193 GB, free: 105 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/6.168, allocations: 1.156 MB / 3.194 GB, free: 103.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004471/6.169, allocations: 408.1 kB / 3.194 GB, free: 103.4 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008738/6.17, allocations: 0.747 MB / 3.195 GB, free: 102.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007228/6.171, allocations: 0.5785 MB / 3.196 GB, free: 101.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=98): time 2.665e-06/6.171, allocations: 4 kB / 3.196 GB, free: 101.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=98): time 0.005452/6.176, allocations: 1.37 MB / 3.197 GB, free: 100.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/6.176, allocations: 170.9 kB / 3.197 GB, free: 100.3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006364/6.177, allocations: 0.5663 MB / 3.198 GB, free: 99.75 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.426e-05/6.177, allocations: 29.7 kB / 3.198 GB, free: 99.71 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003052/6.177, allocations: 0.5309 MB / 3.198 GB, free: 99.18 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001858/6.177, allocations: 314.9 kB / 3.198 GB, free: 98.87 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.694e-05/6.177, allocations: 0 / 3.198 GB, free: 98.87 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.497e-05/6.178, allocations: 394.7 kB / 3.199 GB, free: 98.47 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003968/6.178, allocations: 306.5 kB / 3.199 GB, free: 98.17 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000472/6.178, allocations: 476 kB / 3.2 GB, free: 97.65 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004009/6.182, allocations: 0.8374 MB / 3.2 GB, free: 96.81 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/6.182, allocations: 0 / 3.2 GB, free: 96.81 MB / 0.6511 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.005265/6.188, allocations: 1.453 MB / 3.202 GB, free: 95.35 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.352e-05/6.188, allocations: 41.42 kB / 3.202 GB, free: 95.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/6.188, allocations: 0 / 3.202 GB, free: 95.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005618/6.188, allocations: 89 kB / 3.202 GB, free: 95.22 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/6.189, allocations: 239.6 kB / 3.202 GB, free: 94.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/6.191, allocations: 1.469 MB / 3.204 GB, free: 93.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009756/6.192, allocations: 107.3 kB / 3.204 GB, free: 93.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.791e-05/6.192, allocations: 43.97 kB / 3.204 GB, free: 93.24 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.0002359/6.192, allocations: 129.4 kB / 3.204 GB, free: 93.11 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/6.192, allocations: 90.88 kB / 3.204 GB, free: 93.02 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005738/6.198, allocations: 1.643 MB / 3.206 GB, free: 91.37 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/6.198, allocations: 12 kB / 3.206 GB, free: 91.36 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/6.198, allocations: 4 kB / 3.206 GB, free: 91.35 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/6.198, allocations: 3.984 kB / 3.206 GB, free: 91.35 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006664/6.205, allocations: 2.745 MB / 3.208 GB, free: 88.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.371e-06/6.205, allocations: 4.062 kB / 3.208 GB, free: 88.58 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001/6.206, allocations: 215.7 kB / 3.209 GB, free: 88.37 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000464/6.206, allocations: 84.77 kB / 3.209 GB, free: 88.28 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.36e-05/6.207, allocations: 15.98 kB / 3.209 GB, free: 88.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001316/6.208, allocations: 1.496 MB / 3.21 GB, free: 86.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/6.208, allocations: 0 / 3.21 GB, free: 86.66 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005185/6.213, allocations: 1.547 MB / 3.212 GB, free: 85.09 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004841/6.214, allocations: 355.5 kB / 3.212 GB, free: 84.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/6.214, allocations: 4 kB / 3.212 GB, free: 84.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009217/6.215, allocations: 87.75 kB / 3.212 GB, free: 84.63 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/6.215, allocations: 69.2 kB / 3.212 GB, free: 84.56 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.614e-05/6.215, allocations: 47.97 kB / 3.212 GB, free: 84.51 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004424/6.215, allocations: 455.1 kB / 3.213 GB, free: 84.07 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.51e-07/6.215, allocations: 0 / 3.213 GB, free: 84.07 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001417/6.217, allocations: 0.538 MB / 3.213 GB, free: 83.54 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.002505/6.219, allocations: 1.997 MB / 3.215 GB, free: 81.86 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001637/6.221, allocations: 0.988 MB / 3.216 GB, free: 80.85 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/6.221, allocations: 4.438 kB / 3.216 GB, free: 80.85 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007262/6.222, allocations: 0.5727 MB / 3.217 GB, free: 80.27 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001531/6.223, allocations: 316.5 kB / 3.217 GB, free: 79.96 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004393/6.228, allocations: 1.738 MB / 3.219 GB, free: 78.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006109/6.228, allocations: 1.173 MB / 3.22 GB, free: 77 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001574/6.23, allocations: 354 kB / 3.22 GB, free: 76.66 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004045/6.23, allocations: 107.4 kB / 3.22 GB, free: 76.56 MB / 0.6511 GB Notification: Performance of SimCode: time 6.42e-07/6.23, allocations: 0 / 3.22 GB, free: 76.56 MB / 0.6511 GB Notification: Performance of Templates: time 0.03505/6.265, allocations: 25.83 MB / 3.245 GB, free: 51.01 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)