Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008727/0.0008727, allocations: 80.94 kB / 21.55 MB, free: 2.949 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 161.1 kB / 24.96 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8783/0.8783, allocations: 177.1 MB / 205.4 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.872/1.872, allocations: 389.6 MB / 0.6362 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.587e-06/3.587e-06, allocations: 3.984 kB / 0.776 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.641e-05, allocations: 2.312 kB / 0.776 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002775/0.002802, allocations: 1.392 MB / 0.7773 GB, free: 4.02 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.003905, allocations: 0.5815 MB / 0.7779 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.116e-05/0.003936, allocations: 0 / 0.7779 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.334e-05/0.00396, allocations: 0 / 0.7779 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.48e-05/0.004014, allocations: 12.5 kB / 0.7779 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005978/0.004612, allocations: 136.9 kB / 0.778 GB, free: 3.316 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.124e-05/0.004684, allocations: 27.86 kB / 0.7781 GB, free: 3.289 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.234e-05/0.004726, allocations: 4 kB / 0.7781 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.884e-05/0.004795, allocations: 11.98 kB / 0.7781 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.911e-05/0.004844, allocations: 11.92 kB / 0.7781 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.004858, allocations: 4.844 kB / 0.7781 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004675/0.005326, allocations: 271.4 kB / 0.7784 GB, free: 2.992 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.963e-05/0.005346, allocations: 9.734 kB / 0.7784 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.714e-05/0.005363, allocations: 4 kB / 0.7784 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002802/0.005643, allocations: 155.5 kB / 0.7785 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.005646, allocations: 0 / 0.7785 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.573e-06/0.005648, allocations: 0 / 0.7785 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.005653, allocations: 0.5 kB / 0.7785 GB, free: 2.828 MB / 0.7292 GB 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.0003673/0.00602, allocations: 257.2 kB / 0.7788 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.006062, allocations: 16.88 kB / 0.7788 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.006095, allocations: 4.875 kB / 0.7788 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.006197, allocations: 109.8 kB / 0.7789 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.006209, allocations: 384 / 0.7789 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.006232, allocations: 8.375 kB / 0.7789 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.615e-05/0.006328, allocations: 63.94 kB / 0.779 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.006336, allocations: 192 / 0.779 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-06/0.006343, allocations: 384 / 0.779 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.006349, allocations: 384 / 0.779 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.492e-05/0.006374, allocations: 11.92 kB / 0.779 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000113/0.006487, allocations: 76.25 kB / 0.779 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.006652, allocations: 34.55 kB / 0.7791 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.523e-05/0.006677, allocations: 12.86 kB / 0.7791 GB, free: 2.164 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.006696, allocations: 0 / 0.7791 GB, free: 2.164 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.006717, allocations: 38.5 kB / 0.7791 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.006718, allocations: 0 / 0.7791 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0005843/0.007303, allocations: 237.7 kB / 0.7793 GB, free: 1.852 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.007333, allocations: 51.91 kB / 0.7794 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.125e-05/0.007394, allocations: 103.2 kB / 0.7795 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.007406, allocations: 25.7 kB / 0.7795 GB, free: 1.645 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.656e-05/0.007432, allocations: 84.88 kB / 0.7796 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/0.007465, allocations: 23.8 kB / 0.7796 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.0075, allocations: 22.58 kB / 0.7796 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.007608, allocations: 322.8 kB / 0.78 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.743e-05/0.007626, allocations: 5.75 kB / 0.78 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.344e-05/0.007639, allocations: 4 kB / 0.78 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.343e-05/0.007682, allocations: 20.84 kB / 0.78 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.007684, allocations: 0 / 0.78 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.229e-05/0.007766, allocations: 57.59 kB / 0.78 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.007781, allocations: 4.688 kB / 0.78 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.007786, allocations: 5.594 kB / 0.78 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.0078, allocations: 0 / 0.78 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.543e-05/0.007855, allocations: 8 kB / 0.7801 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.007858, allocations: 0 / 0.7801 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.829e-05/0.007876, allocations: 12 kB / 0.7801 GB, free: 1.062 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.007883, allocations: 4.812 kB / 0.7801 GB, free: 1.059 MB / 0.7292 GB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.534e-05/0.007948, allocations: 106.7 kB / 0.7802 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.456e-05/0.007963, allocations: 8.5 kB / 0.7802 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.008082, allocations: 61.75 kB / 0.7802 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.008084, allocations: 0.5625 kB / 0.7802 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.008086, allocations: 0.7812 kB / 0.7802 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.008092, allocations: 7.969 kB / 0.7803 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.008337, allocations: 212.7 kB / 0.7805 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.008338, allocations: 0 / 0.7805 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.119e-05/0.0084, allocations: 8 kB / 0.7805 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.008402, allocations: 5.469 kB / 0.7805 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.008408, allocations: 0 / 0.7805 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.008411, allocations: 0 / 0.7805 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.008412, allocations: 0 / 0.7805 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.008569, allocations: 161.2 kB / 0.7806 GB, free: 456 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.836e-05/0.008597, allocations: 11.92 kB / 0.7806 GB, free: 444 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.00861, allocations: 5 kB / 0.7806 GB, free: 440 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.412e-05/0.008674, allocations: 8 kB / 0.7806 GB, free: 432 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.988e-05/0.008694, allocations: 3.938 kB / 0.7806 GB, free: 428 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.0087, allocations: 0.8125 kB / 0.7806 GB, free: 428 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.497e-05/0.008715, allocations: 12.84 kB / 0.7807 GB, free: 412 kB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.008715, allocations: 0.9375 kB / 0.7807 GB, free: 412 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002166/0.008932, allocations: 19.94 kB / 0.7807 GB, free: 392 kB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001707/0.009102, allocations: 105.3 kB / 0.7808 GB, free: 280 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.288e-05/0.009185, allocations: 30.08 kB / 0.7808 GB, free: 248 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.009189, allocations: 0 / 0.7808 GB, free: 248 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.246e-05/0.009211, allocations: 21.05 kB / 0.7808 GB, free: 224 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.009362, allocations: 5.125 kB / 0.7808 GB, free: 220 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005495/0.009911, allocations: 187.9 kB / 0.781 GB, free: 20 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.599e-05/0.009967, allocations: 60.44 kB / 0.7811 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.65e-05/0.01, allocations: 9.125 kB / 0.7811 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.057e-05/0.01005, allocations: 55.36 kB / 0.7811 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of SimCode: time 8.52e-07/0.01006, allocations: 1.562 kB / 0.7811 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of Templates: time 0.003204/0.01326, allocations: 0.7531 MB / 0.7819 GB, free: 15.2 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.799922062084079]