Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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.0008225/0.0008225, allocations: 77.09 kB / 20.65 MB, free: 3.844 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.001031/0.001031, allocations: 169 kB / 24.05 MB, free: 456 kB / 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.9158/0.9158, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6127/0.6127, allocations: 115 MB / 376 MB, free: 7.52 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 482 MB, free: 11.64 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.232e-05/1.377e-05, allocations: 4.844 kB / 482 MB, free: 11.64 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001749/0.001763, allocations: 1.525 MB / 483.5 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007179/0.002481, allocations: 0.5896 MB / 484.1 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.207e-05/0.002513, allocations: 0.5938 kB / 484.1 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.204e-05/0.002535, allocations: 5.469 kB / 484.1 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.138e-05/0.002577, allocations: 11.06 kB / 484.1 MB, free: 10.24 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004026/0.002979, allocations: 160 kB / 484.3 MB, free: 10.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.065e-05/0.00304, allocations: 57.34 kB / 484.3 MB, free: 10.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.089e-05/0.003071, allocations: 5.828 kB / 484.3 MB, free: 10.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.202e-05/0.003143, allocations: 32.52 kB / 484.4 MB, free: 10.13 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.214e-05/0.003175, allocations: 22.44 kB / 484.4 MB, free: 10.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.003191, allocations: 6.031 kB / 484.4 MB, free: 10.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003082/0.003499, allocations: 270 kB / 484.7 MB, free: 10.06 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.686e-05/0.003516, allocations: 6.188 kB / 484.7 MB, free: 10.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.46e-05/0.003541, allocations: 23.67 kB / 484.7 MB, free: 10.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.003748, allocations: 184 kB / 484.9 MB, free: 9.977 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.472e-06/0.003749, allocations: 2 kB / 484.9 MB, free: 9.977 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.00375, allocations: 0 / 484.9 MB, free: 9.977 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.003754, allocations: 1.438 kB / 484.9 MB, free: 9.977 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003355/0.00409, allocations: 418.5 kB / 485.3 MB, free: 9.574 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.004125, allocations: 10.12 kB / 485.3 MB, free: 9.574 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.158e-05/0.004156, allocations: 15.11 kB / 485.3 MB, free: 9.566 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.315e-05/0.004209, allocations: 116.6 kB / 485.4 MB, free: 9.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.004236, allocations: 4.094 kB / 485.4 MB, free: 9.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.004253, allocations: 9.719 kB / 485.4 MB, free: 9.426 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.004374, allocations: 130.4 kB / 485.6 MB, free: 9.309 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.004384, allocations: 6.406 kB / 485.6 MB, free: 9.305 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.004391, allocations: 4 kB / 485.6 MB, free: 9.301 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.004397, allocations: 4.156 kB / 485.6 MB, free: 9.301 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.233e-05/0.00443, allocations: 19.92 kB / 485.6 MB, free: 9.297 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000376/0.004806, allocations: 295.8 kB / 485.9 MB, free: 25.03 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.821e-05/0.004894, allocations: 77.06 kB / 486 MB, free: 24.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.732e-05/0.004911, allocations: 21.69 kB / 486 MB, free: 24.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.004929, allocations: 11.03 kB / 486 MB, free: 24.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.004947, allocations: 36.3 kB / 486 MB, free: 24.92 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/0.004948, allocations: 0 / 486 MB, free: 24.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.00057/0.005519, allocations: 434.1 kB / 486.5 MB, free: 24.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.495e-05/0.005533, allocations: 57.84 kB / 486.5 MB, free: 24.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.772e-05/0.005591, allocations: 158.2 kB / 486.7 MB, free: 24.36 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.0056, allocations: 31.14 kB / 486.7 MB, free: 24.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.56e-05/0.005635, allocations: 133.4 kB / 486.8 MB, free: 24.19 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.00566, allocations: 40.62 kB / 486.9 MB, free: 24.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.005692, allocations: 35.7 kB / 486.9 MB, free: 24.13 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.496e-05/0.005787, allocations: 0.49 MB / 487.4 MB, free: 23.63 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.965e-05/0.005807, allocations: 14.7 kB / 487.4 MB, free: 23.63 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.894e-05/0.005826, allocations: 13.34 kB / 487.4 MB, free: 23.63 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.649e-05/0.005872, allocations: 43.84 kB / 487.5 MB, free: 23.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.005873, allocations: 1.344 kB / 487.5 MB, free: 23.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.12e-05/0.005954, allocations: 91.41 kB / 487.5 MB, free: 23.56 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.005964, allocations: 8.375 kB / 487.6 MB, free: 23.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.005968, allocations: 0 / 487.6 MB, free: 23.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.005978, allocations: 1.406 kB / 487.6 MB, free: 23.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.179e-05/0.00605, allocations: 29.33 kB / 487.6 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.006053, allocations: 0.5625 kB / 487.6 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.123e-05/0.006074, allocations: 4.844 kB / 487.6 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.00608, allocations: 2.031 kB / 487.6 MB, free: 23.55 MB / 426.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 5.497e-05/0.006135, allocations: 165.1 kB / 487.8 MB, free: 23.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.732e-05/0.006153, allocations: 11.39 kB / 487.8 MB, free: 23.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.006267, allocations: 102.8 kB / 487.9 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.006268, allocations: 2.688 kB / 487.9 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.00627, allocations: 0 / 487.9 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.006273, allocations: 0 / 487.9 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.006468, allocations: 329.2 kB / 488.2 MB, free: 23.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.00647, allocations: 1.156 kB / 488.2 MB, free: 23.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.767e-05/0.006538, allocations: 26.72 kB / 488.2 MB, free: 23.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.00654, allocations: 0.9375 kB / 488.2 MB, free: 23.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.006546, allocations: 5.438 kB / 488.2 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.006547, allocations: 1.031 kB / 488.2 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.006548, allocations: 0 / 488.2 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.006696, allocations: 260.1 kB / 488.5 MB, free: 22.81 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-06/0.006703, allocations: 6.922 kB / 488.5 MB, free: 22.81 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.798e-06/0.006712, allocations: 5.312 kB / 488.5 MB, free: 22.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.252e-05/0.006755, allocations: 3.875 kB / 488.5 MB, free: 22.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.211e-05/0.006767, allocations: 5.875 kB / 488.5 MB, free: 22.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.006773, allocations: 7.438 kB / 488.5 MB, free: 22.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.32e-05/0.006806, allocations: 129.8 kB / 488.6 MB, free: 22.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006806, allocations: 1.281 kB / 488.6 MB, free: 22.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001736/0.00698, allocations: 37.69 kB / 488.7 MB, free: 22.67 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (11): * Single equations (assignments): 11 * 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.0001314/0.007111, allocations: 134.9 kB / 488.8 MB, free: 22.56 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.339e-05/0.007195, allocations: 62.55 kB / 488.9 MB, free: 22.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.007196, allocations: 0 / 488.9 MB, free: 22.54 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.947e-05/0.007225, allocations: 37.75 kB / 488.9 MB, free: 22.53 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.007379, allocations: 17.03 kB / 488.9 MB, free: 22.52 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004538/0.007833, allocations: 264.2 kB / 489.2 MB, free: 22.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.676e-05/0.00786, allocations: 64.11 kB / 489.2 MB, free: 22.27 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.823e-05/0.007898, allocations: 24.8 kB / 489.3 MB, free: 22.26 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.768e-05/0.007956, allocations: 86.44 kB / 489.3 MB, free: 22.2 MB / 426.7 MB Notification: Performance of SimCode: time 6.62e-07/0.007957, allocations: 0 / 489.3 MB, free: 22.2 MB / 426.7 MB Notification: Performance of Templates: time 0.002923/0.01088, allocations: 1.283 MB / 490.6 MB, free: 22.12 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.368089181371033]