Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [: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.7185/0.7185, allocations: 127.4 MB / 134.6 MB, free: 4.109 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.001198/0.001198, allocations: 181.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.787/1.787, allocations: 205.1 MB / 399.1 MB, free: 6.148 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.001131/0.00113, allocations: 90.75 kB / 476.3 MB, free: 8.91 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.039e-05/1.041e-05, allocations: 4 kB / 0.546 GB, free: 42.76 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1813, allocations: 76.74 MB / 0.6209 GB, free: 13.94 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4683/0.6497, allocations: 102.6 MB / 0.7211 GB, free: 9.895 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/0.6499, allocations: 79.94 kB / 0.7212 GB, free: 9.816 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.01221/0.6622, allocations: 3.934 MB / 0.725 GB, free: 5.895 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.6622, allocations: 4 kB / 0.7251 GB, free: 5.891 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003442/0.6626, allocations: 334.4 kB / 0.7254 GB, free: 5.52 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.6626, allocations: 12.02 kB / 0.7254 GB, free: 5.508 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.105e-05/0.6627, allocations: 4 kB / 0.7254 GB, free: 5.504 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.6628, allocations: 163 kB / 0.7255 GB, free: 5.305 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.6629, allocations: 3.938 kB / 0.7255 GB, free: 5.297 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.6629, allocations: 4 kB / 0.7255 GB, free: 5.293 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.292e-05/0.663, allocations: 12 kB / 0.7256 GB, free: 5.281 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.082e-05/0.6631, allocations: 37.69 kB / 0.7256 GB, free: 5.238 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.6631, allocations: 0 / 0.7256 GB, free: 5.238 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.6631, allocations: 0 / 0.7256 GB, free: 5.238 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.6631, allocations: 0 / 0.7256 GB, free: 5.238 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002009/0.6633, allocations: 142.1 kB / 0.7257 GB, free: 5.062 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.6635, allocations: 25.72 kB / 0.7258 GB, free: 5.031 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.545e-05/0.6635, allocations: 20.98 kB / 0.7258 GB, free: 5.008 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000267/0.6638, allocations: 97.09 kB / 0.7259 GB, free: 4.895 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.6639, allocations: 34.5 kB / 0.7259 GB, free: 4.852 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.924e-06/0.6639, allocations: 0 / 0.7259 GB, free: 4.852 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.001321/0.6652, allocations: 386.3 kB / 0.7263 GB, free: 4.422 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.6652, allocations: 55.41 kB / 0.7263 GB, free: 4.355 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.913e-05/0.6653, allocations: 101.8 kB / 0.7264 GB, free: 4.25 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.6654, allocations: 25.7 kB / 0.7264 GB, free: 4.219 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.234e-05/0.6654, allocations: 80.14 kB / 0.7265 GB, free: 4.137 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.853e-05/0.6654, allocations: 23.73 kB / 0.7265 GB, free: 4.113 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-06/0.6655, allocations: 0 / 0.7265 GB, free: 4.113 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.6656, allocations: 314.8 kB / 0.7268 GB, free: 3.797 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.878e-05/0.6657, allocations: 12 kB / 0.7269 GB, free: 3.785 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.081e-05/0.6657, allocations: 19.98 kB / 0.7269 GB, free: 3.766 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.183e-05/0.6658, allocations: 16 kB / 0.7269 GB, free: 3.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.6658, allocations: 0 / 0.7269 GB, free: 3.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001363/0.6659, allocations: 70.55 kB / 0.727 GB, free: 3.676 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.6659, allocations: 4 kB / 0.727 GB, free: 3.672 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.666, allocations: 4 kB / 0.727 GB, free: 3.668 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.666, allocations: 0 / 0.727 GB, free: 3.668 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.6662, allocations: 31.97 kB / 0.727 GB, free: 3.637 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.6662, allocations: 3.938 kB / 0.727 GB, free: 3.633 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.6664, allocations: 27.83 kB / 0.727 GB, free: 3.605 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.6664, allocations: 4 kB / 0.727 GB, free: 3.602 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.287e-05/0.6665, allocations: 101 kB / 0.7271 GB, free: 3.496 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.6665, allocations: 0 / 0.7271 GB, free: 3.496 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.447e-05/0.6665, allocations: 8.062 kB / 0.7271 GB, free: 3.492 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.6665, allocations: 3.969 kB / 0.7271 GB, free: 3.488 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.6666, allocations: 11.98 kB / 0.7271 GB, free: 3.477 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.6666, allocations: 0 / 0.7271 GB, free: 3.477 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005324/0.6671, allocations: 315.9 kB / 0.7274 GB, free: 3.121 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.6671, allocations: 4 kB / 0.7275 GB, free: 3.117 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.6673, allocations: 36 kB / 0.7275 GB, free: 3.082 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/0.6674, allocations: 3.906 kB / 0.7275 GB, free: 3.078 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.6674, allocations: 4 kB / 0.7275 GB, free: 3.074 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.6674, allocations: 0 / 0.7275 GB, free: 3.074 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.6674, allocations: 0 / 0.7275 GB, free: 3.074 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002517/0.6677, allocations: 206.2 kB / 0.7277 GB, free: 2.848 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.542e-05/0.6677, allocations: 85.09 kB / 0.7278 GB, free: 2.746 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.6678, allocations: 0 / 0.7278 GB, free: 2.746 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.668, allocations: 19.89 kB / 0.7278 GB, free: 2.727 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.462e-05/0.668, allocations: 11.92 kB / 0.7278 GB, free: 2.715 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.668, allocations: 0 / 0.7278 GB, free: 2.715 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.723e-05/0.6681, allocations: 87.41 kB / 0.7279 GB, free: 2.629 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002494/0.6683, allocations: 16 kB / 0.7279 GB, free: 2.613 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000162/0.6685, allocations: 103.2 kB / 0.728 GB, free: 2.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000134/0.6686, allocations: 43.97 kB / 0.728 GB, free: 2.457 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.6686, allocations: 0 / 0.728 GB, free: 2.457 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.355e-05/0.6687, allocations: 19.94 kB / 0.7281 GB, free: 2.438 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.6688, allocations: 8 kB / 0.7281 GB, free: 2.43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000797/0.6697, allocations: 218.1 kB / 0.7283 GB, free: 2.191 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003432/0.67, allocations: 0.7075 MB / 0.729 GB, free: 1.457 MB / 490.7 MB Notification: Performance of SimCode: time 2.91e-07/0.67, allocations: 3.938 kB / 0.729 GB, free: 1.453 MB / 490.7 MB Notification: Performance of Templates: time 0.003108/0.6731, allocations: 0.9237 MB / 0.7299 GB, free: 0.5625 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)