Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.000699/0.000699, allocations: 81.16 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009766/0.001676, 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.0006973/0.0006973, allocations: 157.2 kB / 11.35 MB, free: 2.824 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009399/0.001637, 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 0.9701/0.9701, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08776/1.058, allocations: 53.67 MB / 243.4 MB, free: 15.52 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.6617/0.6617, allocations: 120.1 MB / 364.2 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06223/0.724, allocations: 38.17 MB / 402.4 MB, free: 12.27 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_dp_inv_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 403.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.102e-05/1.225e-05, allocations: 6.25 kB / 403.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck): time 0.00153/0.001542, allocations: 1.42 MB / 405.2 MB, free: 9.473 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009035/0.002446, allocations: 0.6116 MB / 405.8 MB, free: 8.859 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.744e-05/0.002463, allocations: 4 kB / 405.8 MB, free: 8.855 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 7.284e-06/0.002471, allocations: 0 / 405.8 MB, free: 8.855 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 1.959e-05/0.00249, allocations: 11.92 kB / 405.8 MB, free: 8.844 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.00279, allocations: 163.1 kB / 406 MB, free: 8.684 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 5.664e-05/0.002847, allocations: 15.94 kB / 406 MB, free: 8.668 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.405e-05/0.002881, allocations: 4 kB / 406 MB, free: 8.664 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.716e-05/0.002938, allocations: 15.92 kB / 406 MB, free: 8.648 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.755e-05/0.002986, allocations: 7.984 kB / 406 MB, free: 8.641 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.002996, allocations: 4 kB / 406 MB, free: 8.637 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000344/0.00334, allocations: 331.3 kB / 406.3 MB, free: 8.312 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.487e-05/0.003355, allocations: 0 / 406.3 MB, free: 8.312 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.498e-05/0.00337, allocations: 7.938 kB / 406.3 MB, free: 8.305 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.003546, allocations: 127.7 kB / 406.5 MB, free: 8.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.249e-05/0.003559, allocations: 0 / 406.5 MB, free: 8.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003559, allocations: 4 kB / 406.5 MB, free: 8.176 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.003566, allocations: 0 / 406.5 MB, free: 8.176 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.0003287/0.003895, allocations: 284.2 kB / 406.8 MB, free: 7.875 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.869e-05/0.003924, allocations: 8.031 kB / 406.8 MB, free: 7.867 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.741e-05/0.003951, allocations: 8.875 kB / 406.8 MB, free: 7.859 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.504e-05/0.004016, allocations: 105.8 kB / 406.9 MB, free: 7.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.719e-06/0.004026, allocations: 8.375 kB / 406.9 MB, free: 7.723 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.004047, allocations: 8.297 kB / 406.9 MB, free: 7.715 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.861e-05/0.004126, allocations: 67.95 kB / 407 MB, free: 7.637 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.004133, allocations: 3.938 kB / 407 MB, free: 7.633 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-06/0.004138, allocations: 0 / 407 MB, free: 7.633 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.004142, allocations: 0 / 407 MB, free: 7.633 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.918e-05/0.004161, allocations: 7.984 kB / 407 MB, free: 7.625 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.581e-05/0.004237, allocations: 57.05 kB / 407 MB, free: 7.555 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.004374, allocations: 46.53 kB / 407.1 MB, free: 7.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.931e-05/0.004394, allocations: 16.86 kB / 407.1 MB, free: 7.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.004412, allocations: 4 kB / 407.1 MB, free: 7.477 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.004431, allocations: 30.56 kB / 407.1 MB, free: 7.438 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.004432, allocations: 0 / 407.1 MB, free: 7.438 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004627/0.004894, allocations: 237.1 kB / 407.4 MB, free: 7.172 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.004921, allocations: 55.34 kB / 407.4 MB, free: 7.105 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.722e-05/0.004968, allocations: 98.72 kB / 407.5 MB, free: 6.996 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.238e-06/0.004977, allocations: 25.7 kB / 407.5 MB, free: 6.965 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.57e-05/0.005003, allocations: 92.11 kB / 407.6 MB, free: 6.871 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.005027, allocations: 19.86 kB / 407.6 MB, free: 6.852 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/0.005053, allocations: 17.72 kB / 407.7 MB, free: 6.828 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.705e-05/0.00512, allocations: 318.8 kB / 408 MB, free: 6.508 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.327e-06/0.005129, allocations: 4 kB / 408 MB, free: 6.504 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.859e-06/0.005139, allocations: 4 kB / 408 MB, free: 6.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.772e-05/0.005167, allocations: 20.84 kB / 408 MB, free: 6.477 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.005168, allocations: 0 / 408 MB, free: 6.477 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.334e-05/0.005221, allocations: 65.75 kB / 408.1 MB, free: 6.406 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.005232, allocations: 4 kB / 408.1 MB, free: 6.402 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.005236, allocations: 0 / 408.1 MB, free: 6.402 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.594e-06/0.005244, allocations: 3.938 kB / 408.1 MB, free: 6.398 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.127e-05/0.005285, allocations: 20.5 kB / 408.1 MB, free: 6.379 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.005288, allocations: 0 / 408.1 MB, free: 6.379 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.021e-05/0.005298, allocations: 4.062 kB / 408.1 MB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.005302, allocations: 4 kB / 408.1 MB, free: 6.371 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 4.63e-05/0.005349, allocations: 109.8 kB / 408.2 MB, free: 6.254 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.331e-06/0.005355, allocations: 4 kB / 408.2 MB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.604e-05/0.005431, allocations: 57.73 kB / 408.3 MB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.005435, allocations: 11.92 kB / 408.3 MB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.005436, allocations: 3.938 kB / 408.3 MB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.005439, allocations: 0 / 408.3 MB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.005591, allocations: 207.7 kB / 408.5 MB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.005592, allocations: 3.938 kB / 408.5 MB, free: 5.941 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.66e-05/0.005648, allocations: 19.98 kB / 408.5 MB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.132e-05/0.00566, allocations: 0 / 408.5 MB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.005664, allocations: 7.938 kB / 408.5 MB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.005669, allocations: 0 / 408.5 MB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.00567, allocations: 0 / 408.5 MB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.005671, allocations: 0 / 408.5 MB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.869e-05/0.00577, allocations: 156.4 kB / 408.7 MB, free: 5.742 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-06/0.005779, allocations: 3.938 kB / 408.7 MB, free: 5.738 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.582e-05/0.005815, allocations: 15.98 kB / 408.7 MB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.107e-05/0.005826, allocations: 4 kB / 408.7 MB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.005829, allocations: 0 / 408.7 MB, free: 5.719 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.195e-06/0.005837, allocations: 8.859 kB / 408.7 MB, free: 5.707 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005837, allocations: 0 / 408.7 MB, free: 5.707 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001499/0.005987, allocations: 43.8 kB / 408.7 MB, free: 5.664 MB / 394.7 MB 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.0001472/0.006135, allocations: 132.2 kB / 408.9 MB, free: 5.523 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 5.994e-05/0.006195, allocations: 29.02 kB / 408.9 MB, free: 5.492 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.006199, allocations: 0 / 408.9 MB, free: 5.492 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.275e-05/0.006222, allocations: 36.73 kB / 408.9 MB, free: 5.453 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001096/0.006331, allocations: 11.98 kB / 408.9 MB, free: 5.441 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008426/0.007174, allocations: 179 kB / 409.1 MB, free: 5.23 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.66e-05/0.007211, allocations: 63.34 kB / 409.2 MB, free: 5.148 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.145e-05/0.007252, allocations: 59.38 kB / 409.2 MB, free: 5.09 MB / 394.7 MB Notification: Performance of SimCode: time 5.21e-07/0.007253, allocations: 0 / 409.2 MB, free: 5.09 MB / 394.7 MB Notification: Performance of Templates: time 0.001525/0.008777, allocations: 1.031 MB / 410.3 MB, free: 4.059 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.819646969437599]