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_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.0006976/0.0006976, allocations: 81.16 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009854/0.001683, 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.001106/0.001106, allocations: 157.2 kB / 11.35 MB, free: 2.824 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00138/0.002487, 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.9519/0.9519, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09265/1.045, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.6143/0.6143, allocations: 120.1 MB / 364.3 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07283/0.6871, allocations: 38.16 MB / 402.4 MB, free: 12.26 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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 403.8 MB, free: 10.9 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.279e-05/1.419e-05, allocations: 2.312 kB / 403.8 MB, free: 10.9 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2): time 0.001493/0.001508, allocations: 1.435 MB / 405.2 MB, free: 9.449 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005846/0.002092, allocations: 0.5921 MB / 405.8 MB, free: 8.855 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.587e-05/0.002108, allocations: 0 / 405.8 MB, free: 8.855 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 6.693e-06/0.002115, allocations: 0 / 405.8 MB, free: 8.855 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 2.188e-05/0.002137, allocations: 15.86 kB / 405.8 MB, free: 8.84 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.002403, allocations: 147.3 kB / 406 MB, free: 8.695 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 5.628e-05/0.002459, allocations: 35.86 kB / 406 MB, free: 8.66 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.458e-05/0.002494, allocations: 3.938 kB / 406 MB, free: 8.656 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.008e-05/0.002544, allocations: 23.97 kB / 406 MB, free: 8.633 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.613e-05/0.0026, allocations: 11.92 kB / 406 MB, free: 8.621 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.002614, allocations: 0 / 406 MB, free: 8.621 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005658/0.00318, allocations: 331.3 kB / 406.4 MB, free: 8.297 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.003196, allocations: 4 kB / 406.4 MB, free: 8.293 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.59e-05/0.003212, allocations: 15.94 kB / 406.4 MB, free: 8.277 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.003389, allocations: 135.6 kB / 406.5 MB, free: 8.145 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.163e-05/0.003401, allocations: 4 kB / 406.5 MB, free: 8.141 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.003401, allocations: 0 / 406.5 MB, free: 8.141 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.003408, allocations: 0 / 406.5 MB, free: 8.141 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003177/0.003726, allocations: 284.2 kB / 406.8 MB, free: 7.84 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.877e-05/0.003755, allocations: 8.031 kB / 406.8 MB, free: 7.832 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.728e-05/0.003782, allocations: 4.938 kB / 406.8 MB, free: 7.828 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.519e-05/0.003857, allocations: 121.7 kB / 406.9 MB, free: 7.684 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.003869, allocations: 4.375 kB / 406.9 MB, free: 7.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.00389, allocations: 12.31 kB / 406.9 MB, free: 7.668 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.088e-05/0.003981, allocations: 93.66 kB / 407 MB, free: 7.559 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.00399, allocations: 7.938 kB / 407 MB, free: 7.551 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.961e-06/0.003996, allocations: 0 / 407 MB, free: 7.551 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.004, allocations: 0 / 407 MB, free: 7.551 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.419e-05/0.004024, allocations: 15.92 kB / 407 MB, free: 7.535 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.397e-05/0.004108, allocations: 69.05 kB / 407.1 MB, free: 7.453 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.705e-05/0.004175, allocations: 42.62 kB / 407.2 MB, free: 7.402 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.966e-05/0.004194, allocations: 24.84 kB / 407.2 MB, free: 7.375 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.004212, allocations: 4 kB / 407.2 MB, free: 7.371 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.004231, allocations: 34.56 kB / 407.2 MB, free: 7.328 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.004232, allocations: 0 / 407.2 MB, free: 7.328 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008679/0.0051, allocations: 471.5 kB / 407.7 MB, free: 6.812 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.243e-05/0.005122, allocations: 51.41 kB / 407.7 MB, free: 6.75 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.602e-05/0.005168, allocations: 102.7 kB / 407.8 MB, free: 6.637 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.005179, allocations: 29.7 kB / 407.9 MB, free: 6.602 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000269/0.005448, allocations: 84.14 kB / 407.9 MB, free: 6.516 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.005479, allocations: 39.64 kB / 408 MB, free: 6.477 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/0.005508, allocations: 29.69 kB / 408 MB, free: 6.441 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.695e-05/0.005575, allocations: 310.8 kB / 408.3 MB, free: 6.129 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.449e-05/0.005589, allocations: 11.98 kB / 408.3 MB, free: 6.117 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.443e-05/0.005604, allocations: 12 kB / 408.3 MB, free: 6.105 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.991e-05/0.005644, allocations: 40.88 kB / 408.4 MB, free: 6.062 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.005645, allocations: 4 kB / 408.4 MB, free: 6.059 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 6.349e-05/0.005708, allocations: 69.67 kB / 408.4 MB, free: 5.984 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.005718, allocations: 4 kB / 408.5 MB, free: 5.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.005723, allocations: 3.938 kB / 408.5 MB, free: 5.977 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.903e-06/0.00573, allocations: 0 / 408.5 MB, free: 5.977 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.728e-05/0.005797, allocations: 27.98 kB / 408.5 MB, free: 5.949 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-06/0.0058, allocations: 7.938 kB / 408.5 MB, free: 5.941 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.142e-05/0.005812, allocations: 0 / 408.5 MB, free: 5.941 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.005816, allocations: 0 / 408.5 MB, free: 5.941 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 (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 4.566e-05/0.005862, allocations: 113.8 kB / 408.6 MB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.885e-06/0.005869, allocations: 8 kB / 408.6 MB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.791e-05/0.005967, allocations: 89.64 kB / 408.7 MB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.005969, allocations: 4 kB / 408.7 MB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.00597, allocations: 0 / 408.7 MB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.005973, allocations: 0 / 408.7 MB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.006154, allocations: 222.8 kB / 408.9 MB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.006155, allocations: 0 / 408.9 MB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.257e-05/0.006217, allocations: 27.98 kB / 408.9 MB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.67e-06/0.006223, allocations: 7.891 kB / 409 MB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.006226, allocations: 4 kB / 409 MB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.006232, allocations: 8 kB / 409 MB, free: 5.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.006234, allocations: 3.938 kB / 409 MB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.006235, allocations: 0 / 409 MB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.006344, allocations: 183.4 kB / 409.1 MB, free: 5.23 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.006355, allocations: 3.938 kB / 409.2 MB, free: 5.227 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.73e-05/0.006392, allocations: 4 kB / 409.2 MB, free: 5.223 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.358e-05/0.006405, allocations: 7.984 kB / 409.2 MB, free: 5.215 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.00641, allocations: 4 kB / 409.2 MB, free: 5.211 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.063e-06/0.006417, allocations: 4.859 kB / 409.2 MB, free: 5.203 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006418, allocations: 0 / 409.2 MB, free: 5.203 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000167/0.006585, allocations: 67.86 kB / 409.2 MB, free: 5.137 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.0001621/0.006747, allocations: 160 kB / 409.4 MB, free: 4.969 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.996e-05/0.006817, allocations: 48.77 kB / 409.4 MB, free: 4.918 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.006823, allocations: 4 kB / 409.4 MB, free: 4.914 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.995e-05/0.006852, allocations: 37.22 kB / 409.5 MB, free: 4.875 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000104/0.006956, allocations: 8 kB / 409.5 MB, free: 4.867 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007755/0.007732, allocations: 211.1 kB / 409.7 MB, free: 4.629 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.347e-05/0.007775, allocations: 67.34 kB / 409.8 MB, free: 4.543 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.419e-05/0.00783, allocations: 67.36 kB / 409.8 MB, free: 4.477 MB / 394.7 MB Notification: Performance of SimCode: time 1.032e-06/0.007831, allocations: 0 / 409.8 MB, free: 4.477 MB / 394.7 MB Notification: Performance of Templates: time 0.001834/0.009665, allocations: 1.46 MB / 411.3 MB, free: 3.016 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2 > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.809902908280492]