Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.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.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6859/0.6859, allocations: 127.4 MB / 134.6 MB, free: 4.094 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.001224/0.001224, allocations: 185.3 kB / 164.4 MB, free: 6.895 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.568/1.568, allocations: 205.1 MB / 399.1 MB, free: 6.102 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.0009196/0.0009197, allocations: 84.12 kB / 476.3 MB, free: 8.863 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.145e-06/8.185e-06, allocations: 4 kB / 0.546 GB, free: 42.78 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1833, allocations: 76.75 MB / 0.6209 GB, free: 13.96 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.758/4.941, allocations: 2.166 GB / 2.787 GB, free: 39.58 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/4.942, allocations: 90.78 kB / 2.787 GB, free: 39.5 MB / 0.6355 GB Notification: Performance of FrontEnd: time 7.46/12.4, allocations: 2.035 GB / 4.822 GB, free: 35.96 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003746/12.4, allocations: 101.3 kB / 4.822 GB, free: 35.95 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 757 * Number of variables: 757 Notification: Performance of Generate backend data structure: time 0.01369/12.42, allocations: 3.711 MB / 4.826 GB, free: 34.08 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/12.42, allocations: 10.03 kB / 4.826 GB, free: 34.08 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008352/12.42, allocations: 1.013 MB / 4.827 GB, free: 33.87 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008366/12.43, allocations: 2.665 MB / 4.829 GB, free: 33.19 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002166/12.43, allocations: 181 kB / 4.829 GB, free: 33.12 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009117/12.43, allocations: 197.7 kB / 4.829 GB, free: 33.12 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005677/12.44, allocations: 2.743 MB / 4.832 GB, free: 33.1 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005556/12.45, allocations: 3.05 MB / 4.835 GB, free: 32.84 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.208e-05/12.45, allocations: 1.312 kB / 4.835 GB, free: 32.84 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000335/12.45, allocations: 9.391 kB / 4.835 GB, free: 32.84 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001121/12.45, allocations: 107.7 kB / 4.835 GB, free: 32.84 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02054/12.47, allocations: 14.99 MB / 4.85 GB, free: 24.71 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00261/12.47, allocations: 1.806 MB / 4.852 GB, free: 24.65 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001472/12.47, allocations: 1.051 MB / 4.853 GB, free: 24.63 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004991/12.47, allocations: 332.2 kB / 4.853 GB, free: 24.34 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.711e-05/12.47, allocations: 64.86 kB / 4.853 GB, free: 24.3 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=192): time 4.178e-06/12.47, allocations: 2.438 kB / 4.853 GB, free: 24.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=192): time 0.006799/12.48, allocations: 2.212 MB / 4.855 GB, free: 24.1 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/12.48, allocations: 71.5 kB / 4.855 GB, free: 24.03 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002827/12.48, allocations: 1.495 MB / 4.857 GB, free: 23.81 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0004762/12.48, allocations: 31.11 kB / 4.857 GB, free: 23.78 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007784/12.48, allocations: 1.085 MB / 4.858 GB, free: 23.16 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009421/12.48, allocations: 0.6525 MB / 4.858 GB, free: 22.73 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/12.48, allocations: 1 kB / 4.858 GB, free: 22.73 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001785/12.48, allocations: 395.3 kB / 4.859 GB, free: 22.42 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001547/12.49, allocations: 0.8205 MB / 4.86 GB, free: 22.41 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001912/12.49, allocations: 1.516 MB / 4.861 GB, free: 21.6 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002066/12.49, allocations: 1.104 MB / 4.862 GB, free: 21.56 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.341e-05/12.49, allocations: 8.062 kB / 4.862 GB, free: 21.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.005415/12.49, allocations: 2.504 MB / 4.865 GB, free: 21.28 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.002152/12.5, allocations: 6.581 MB / 4.871 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.851e-05/12.5, allocations: 18.31 kB / 4.871 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.072e-05/12.5, allocations: 28.22 kB / 4.871 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008198/12.51, allocations: 1.166 MB / 4.872 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005702/12.51, allocations: 4.654 MB / 4.877 GB, free: 26.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004886/12.52, allocations: 379.2 kB / 4.877 GB, free: 26 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003764/12.52, allocations: 104.1 kB / 4.877 GB, free: 26 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/12.52, allocations: 3.469 kB / 4.877 GB, free: 26 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003927/12.52, allocations: 2.136 MB / 4.879 GB, free: 25.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-05/12.52, allocations: 15.75 kB / 4.879 GB, free: 25.83 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.178e-05/12.52, allocations: 28.72 kB / 4.879 GB, free: 25.83 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002152/12.52, allocations: 0.5046 MB / 4.88 GB, free: 25.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.248e-05/12.52, allocations: 42.97 kB / 4.88 GB, free: 25.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003756/12.53, allocations: 318.8 kB / 4.88 GB, free: 25.69 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001865/12.53, allocations: 99.94 kB / 4.88 GB, free: 25.67 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (282): * Single equations (assignments): 272 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007404/12.53, allocations: 170.1 kB / 4.881 GB, free: 25.52 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000614/12.53, allocations: 266.7 kB / 4.881 GB, free: 25.39 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007508/12.53, allocations: 282 kB / 4.881 GB, free: 25.22 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.731e-05/12.53, allocations: 18.56 kB / 4.881 GB, free: 25.22 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.621e-05/12.53, allocations: 8.719 kB / 4.881 GB, free: 25.22 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003048/12.53, allocations: 1.871 MB / 4.883 GB, free: 24.41 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009625/12.54, allocations: 4.965 MB / 4.888 GB, free: 22.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.295e-06/12.54, allocations: 3.656 kB / 4.888 GB, free: 22.39 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008379/12.55, allocations: 1.233 MB / 4.889 GB, free: 22.35 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.115e-05/12.55, allocations: 9.781 kB / 4.889 GB, free: 22.35 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002548/12.55, allocations: 32.81 kB / 4.889 GB, free: 22.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01465/12.56, allocations: 9.801 MB / 4.899 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/12.56, allocations: 4 kB / 4.899 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005648/12.57, allocations: 3.647 MB / 4.902 GB, free: 9.062 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002186/12.57, allocations: 0.595 MB / 4.903 GB, free: 8.523 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004942/12.57, allocations: 14.67 kB / 4.903 GB, free: 8.512 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002863/12.58, allocations: 269 kB / 4.903 GB, free: 8.34 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002544/12.58, allocations: 113.7 kB / 4.903 GB, free: 8.277 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001866/12.58, allocations: 83.84 kB / 4.903 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.00191/12.58, allocations: 1.102 MB / 4.904 GB, free: 7.215 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.006127/12.58, allocations: 2.08 MB / 4.906 GB, free: 5.156 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 20 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol1.dynBal.mC[1],vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],vol2.dynBal.mC[1],vol3.dynBal.U,vol3.dynBal.m,vol3.dynBal.mXi[1],vol3.dynBal.mC[1],vol4.dynBal.U,vol4.dynBal.m,vol4.dynBal.mXi[1],vol4.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (192): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009397/12.59, allocations: 5.315 MB / 4.911 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01591/12.61, allocations: 4.428 MB / 4.916 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-05/12.61, allocations: 3.094 kB / 4.916 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.009591/12.62, allocations: 1.986 MB / 4.918 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008578/12.63, allocations: 1.436 MB / 4.919 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/12.64, allocations: 5.711 MB / 4.925 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003002/12.64, allocations: 2.568 MB / 4.927 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of SimCode: time 1.573e-06/12.64, allocations: 4 kB / 4.927 GB, free: 2.871 MB / 0.7448 GB Notification: Performance of Templates: time 0.5561/13.2, allocations: 86.1 MB / 5.011 GB, free: 115.4 MB / 0.7448 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)