Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_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.0009014/0.0009014, allocations: 81.16 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001292/0.002194, allocations: 451.9 kB / 10.45 MB, free: 244 kB / 10.45 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.0007366/0.0007366, allocations: 157.2 kB / 11.35 MB, free: 2.824 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009934/0.00173, allocations: 483.5 kB / 11.82 MB, free: 2.348 MB / 13.93 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 1.084/1.084, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09682/1.181, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6536/0.6536, allocations: 120.3 MB / 364.5 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07225/0.7258, allocations: 38.24 MB / 402.7 MB, free: 11.95 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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_inv_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 4 kB / 404.1 MB, free: 10.57 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.761e-05/2.024e-05, allocations: 2.312 kB / 404.1 MB, free: 10.57 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck): time 0.002548/0.002568, allocations: 1.416 MB / 405.5 MB, free: 9.145 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007554/0.003323, allocations: 0.5882 MB / 406.1 MB, free: 8.555 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.863e-05/0.003342, allocations: 0 / 406.1 MB, free: 8.555 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 7.464e-06/0.003349, allocations: 0 / 406.1 MB, free: 8.555 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 2.71e-05/0.003376, allocations: 11.91 kB / 406.1 MB, free: 8.543 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.003648, allocations: 147.3 kB / 406.3 MB, free: 8.398 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 5.697e-05/0.003705, allocations: 23.86 kB / 406.3 MB, free: 8.375 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.397e-05/0.003739, allocations: 7.984 kB / 406.3 MB, free: 8.367 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.231e-05/0.003801, allocations: 12 kB / 406.3 MB, free: 8.355 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.363e-05/0.003855, allocations: 3.984 kB / 406.3 MB, free: 8.352 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.003865, allocations: 8 kB / 406.3 MB, free: 8.344 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003426/0.004208, allocations: 335.2 kB / 406.6 MB, free: 8.016 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.45e-05/0.004222, allocations: 4 kB / 406.6 MB, free: 8.012 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.34e-05/0.004236, allocations: 4 kB / 406.6 MB, free: 8.008 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.004414, allocations: 135.6 kB / 406.8 MB, free: 7.875 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.284e-05/0.004427, allocations: 0 / 406.8 MB, free: 7.875 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.004428, allocations: 0 / 406.8 MB, free: 7.875 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.004436, allocations: 0 / 406.8 MB, free: 7.875 MB / 394.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.0003414/0.004777, allocations: 276.2 kB / 407 MB, free: 7.582 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.004808, allocations: 8.031 kB / 407.1 MB, free: 7.574 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.539e-05/0.004834, allocations: 8.938 kB / 407.1 MB, free: 7.566 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.354e-05/0.004907, allocations: 109.8 kB / 407.2 MB, free: 7.434 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.004916, allocations: 8.344 kB / 407.2 MB, free: 7.426 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.004937, allocations: 4.375 kB / 407.2 MB, free: 7.422 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.039e-05/0.005017, allocations: 67.89 kB / 407.2 MB, free: 7.344 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.005024, allocations: 3.938 kB / 407.3 MB, free: 7.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.601e-06/0.005029, allocations: 0 / 407.3 MB, free: 7.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.005033, allocations: 0 / 407.3 MB, free: 7.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.773e-05/0.005051, allocations: 4 kB / 407.3 MB, free: 7.336 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.584e-05/0.005137, allocations: 65.03 kB / 407.3 MB, free: 7.258 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.005274, allocations: 42.61 kB / 407.4 MB, free: 7.207 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.991e-05/0.005294, allocations: 16.94 kB / 407.4 MB, free: 7.188 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.005314, allocations: 3.938 kB / 407.4 MB, free: 7.184 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.005336, allocations: 30.56 kB / 407.4 MB, free: 7.145 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.005337, allocations: 0 / 407.4 MB, free: 7.145 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004944/0.005831, allocations: 241 kB / 407.6 MB, free: 6.875 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.005859, allocations: 55.41 kB / 407.7 MB, free: 6.809 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.3e-05/0.005912, allocations: 106.7 kB / 407.8 MB, free: 6.691 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.005924, allocations: 29.7 kB / 407.8 MB, free: 6.656 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.303e-05/0.005947, allocations: 80.14 kB / 407.9 MB, free: 6.574 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.005974, allocations: 23.8 kB / 407.9 MB, free: 6.551 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/0.006, allocations: 21.69 kB / 408 MB, free: 6.523 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.487e-05/0.006084, allocations: 318.8 kB / 408.3 MB, free: 6.203 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.806e-06/0.006093, allocations: 4 kB / 408.3 MB, free: 6.199 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.685e-05/0.00611, allocations: 7.938 kB / 408.3 MB, free: 6.191 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.348e-05/0.006144, allocations: 24.83 kB / 408.3 MB, free: 6.164 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.006145, allocations: 0 / 408.3 MB, free: 6.164 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.586e-05/0.006201, allocations: 50.19 kB / 408.4 MB, free: 6.109 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.006213, allocations: 4 kB / 408.4 MB, free: 6.105 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-06/0.006217, allocations: 4 kB / 408.4 MB, free: 6.102 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.006229, allocations: 7.938 kB / 408.4 MB, free: 6.094 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.764e-05/0.006266, allocations: 8 kB / 408.4 MB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.846e-06/0.006269, allocations: 3.938 kB / 408.4 MB, free: 6.082 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.718e-06/0.006279, allocations: 4 kB / 408.4 MB, free: 6.078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-06/0.006283, allocations: 0 / 408.4 MB, free: 6.078 MB / 394.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 (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 5.097e-05/0.006334, allocations: 109.8 kB / 408.5 MB, free: 5.961 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.104e-06/0.006341, allocations: 7.984 kB / 408.5 MB, free: 5.953 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.053e-05/0.006421, allocations: 61.8 kB / 408.6 MB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.006423, allocations: 3.938 kB / 408.6 MB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.006426, allocations: 7.984 kB / 408.6 MB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.006428, allocations: 0 / 408.6 MB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.006587, allocations: 207.6 kB / 408.8 MB, free: 5.648 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.006588, allocations: 0 / 408.8 MB, free: 5.648 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.902e-05/0.006627, allocations: 12 kB / 408.8 MB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.143e-05/0.006639, allocations: 7.984 kB / 408.8 MB, free: 5.629 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.006641, allocations: 3.938 kB / 408.8 MB, free: 5.625 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.078e-06/0.006645, allocations: 0 / 408.8 MB, free: 5.625 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.006646, allocations: 3.938 kB / 408.8 MB, free: 5.621 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.006647, allocations: 4 kB / 408.8 MB, free: 5.617 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.749e-05/0.006745, allocations: 160.6 kB / 409 MB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-06/0.006754, allocations: 7.938 kB / 409 MB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.234e-05/0.006787, allocations: 4 kB / 409 MB, free: 5.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.16e-05/0.006798, allocations: 4 kB / 409 MB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.006803, allocations: 3.984 kB / 409 MB, free: 5.422 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.508e-06/0.006812, allocations: 12.84 kB / 409 MB, free: 5.406 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006812, allocations: 0 / 409 MB, free: 5.406 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001402/0.006952, allocations: 39.75 kB / 409 MB, free: 5.367 MB / 394.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 () * 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.0001639/0.007116, allocations: 136.1 kB / 409.2 MB, free: 5.223 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.484e-05/0.007201, allocations: 32.23 kB / 409.2 MB, free: 5.191 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.007206, allocations: 4 kB / 409.2 MB, free: 5.188 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.403e-05/0.00725, allocations: 15.98 kB / 409.2 MB, free: 5.172 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001084/0.007358, allocations: 8 kB / 409.2 MB, free: 5.164 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006564/0.008015, allocations: 161.1 kB / 409.4 MB, free: 4.977 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.234e-05/0.008047, allocations: 59.36 kB / 409.4 MB, free: 4.898 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.582e-05/0.008073, allocations: 8.078 kB / 409.4 MB, free: 4.891 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.719e-05/0.00811, allocations: 55.38 kB / 409.5 MB, free: 4.836 MB / 394.7 MB Notification: Performance of SimCode: time 7.11e-07/0.008111, allocations: 0 / 409.5 MB, free: 4.836 MB / 394.7 MB Notification: Performance of Templates: time 0.002509/0.01062, allocations: 1.105 MB / 410.6 MB, free: 3.73 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0814324636012316]