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.001355/0.001355, allocations: 110.7 kB / 20.45 MB, free: 4.57 MB / 13.93 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.001583/0.001583, allocations: 217.5 kB / 23.74 MB, free: 2.117 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.056/1.056, allocations: 230.6 MB / 257.5 MB, free: 9.582 MB / 202.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.6086/0.6086, allocations: 158 MB / 471.9 MB, free: 7.09 MB / 362.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 0.001725/0.001725, allocations: 80.69 kB / 0.6533 GB, free: 9.738 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1669, allocations: 91.1 MB / 0.7423 GB, free: 14.53 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck): time 0.00223/0.1691, allocations: 1.321 MB / 0.7436 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0008635/0.17, allocations: 0.5499 MB / 0.7441 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.884e-05/0.17, allocations: 0 / 0.7441 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.865e-05/0.1701, allocations: 3.938 kB / 0.7441 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.06e-05/0.1701, allocations: 3.984 kB / 0.7441 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005283/0.1706, allocations: 163.4 kB / 0.7443 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 5.771e-05/0.1707, allocations: 15.88 kB / 0.7443 GB, free: 12.47 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.41e-05/0.1707, allocations: 7.984 kB / 0.7443 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.977e-05/0.1708, allocations: 8 kB / 0.7443 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.968e-05/0.1708, allocations: 3.938 kB / 0.7443 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 9.738e-06/0.1708, allocations: 4 kB / 0.7443 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003981/0.1712, allocations: 315.4 kB / 0.7446 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.92e-05/0.1713, allocations: 8 kB / 0.7446 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.128e-05/0.1713, allocations: 11.94 kB / 0.7446 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.1715, allocations: 139.6 kB / 0.7448 GB, free: 11.98 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1715, allocations: 3.938 kB / 0.7448 GB, free: 11.98 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.904e-06/0.1715, allocations: 0 / 0.7448 GB, free: 11.98 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.1715, allocations: 0 / 0.7448 GB, free: 11.98 MB / 0.5573 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.0003911/0.1719, allocations: 289.9 kB / 0.745 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.172, allocations: 8.031 kB / 0.745 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.488e-05/0.172, allocations: 4.938 kB / 0.7451 GB, free: 11.65 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.899e-05/0.1721, allocations: 106.5 kB / 0.7452 GB, free: 11.52 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.1721, allocations: 8.375 kB / 0.7452 GB, free: 11.52 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.1721, allocations: 8.328 kB / 0.7452 GB, free: 11.51 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.1722, allocations: 75.27 kB / 0.7452 GB, free: 11.42 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.1722, allocations: 0 / 0.7452 GB, free: 11.42 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.1723, allocations: 0 / 0.7452 GB, free: 11.42 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1723, allocations: 0 / 0.7452 GB, free: 11.42 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.593e-05/0.1723, allocations: 8 kB / 0.7452 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001368/0.1724, allocations: 109.4 kB / 0.7454 GB, free: 11.28 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.1726, allocations: 38.56 kB / 0.7454 GB, free: 11.23 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.185e-05/0.1727, allocations: 20.84 kB / 0.7454 GB, free: 11.21 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.1727, allocations: 0 / 0.7454 GB, free: 11.21 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.1727, allocations: 46.44 kB / 0.7455 GB, free: 11.15 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1727, allocations: 0 / 0.7455 GB, free: 11.15 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6): time 0.0005483/0.1732, allocations: 233.2 kB / 0.7457 GB, free: 10.89 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.1733, allocations: 51.41 kB / 0.7457 GB, free: 10.83 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.165e-05/0.1733, allocations: 97.86 kB / 0.7458 GB, free: 10.72 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.1733, allocations: 29.7 kB / 0.7458 GB, free: 10.69 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.625e-05/0.1734, allocations: 80.14 kB / 0.7459 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.1734, allocations: 19.84 kB / 0.7459 GB, free: 10.59 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-05/0.1734, allocations: 21.72 kB / 0.746 GB, free: 10.56 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.332e-05/0.1735, allocations: 314.8 kB / 0.7463 GB, free: 10.24 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.72e-05/0.1735, allocations: 16 kB / 0.7463 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.207e-05/0.1736, allocations: 15.98 kB / 0.7463 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.333e-05/0.1736, allocations: 28.84 kB / 0.7463 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1736, allocations: 3.938 kB / 0.7463 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.173e-05/0.1737, allocations: 69.59 kB / 0.7464 GB, free: 10.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1737, allocations: 8 kB / 0.7464 GB, free: 10.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1737, allocations: 0 / 0.7464 GB, free: 10.09 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.1737, allocations: 3.984 kB / 0.7464 GB, free: 10.09 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.377e-05/0.1738, allocations: 8 kB / 0.7464 GB, free: 10.08 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1738, allocations: 3.938 kB / 0.7464 GB, free: 10.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.533e-05/0.1738, allocations: 7.938 kB / 0.7464 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.1738, allocations: 4 kB / 0.7464 GB, free: 10.07 MB / 0.5573 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.274e-05/0.1739, allocations: 113.8 kB / 0.7465 GB, free: 9.945 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.808e-06/0.1739, allocations: 3.938 kB / 0.7465 GB, free: 9.941 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001264/0.174, allocations: 73.67 kB / 0.7466 GB, free: 9.859 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.174, allocations: 4 kB / 0.7466 GB, free: 9.855 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.174, allocations: 4.125 kB / 0.7466 GB, free: 9.852 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.174, allocations: 0 / 0.7466 GB, free: 9.852 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002724/0.1743, allocations: 263 kB / 0.7469 GB, free: 9.555 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1743, allocations: 0 / 0.7469 GB, free: 9.555 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.789e-05/0.1744, allocations: 12 kB / 0.7469 GB, free: 9.543 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.1744, allocations: 4.031 kB / 0.7469 GB, free: 9.539 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.1744, allocations: 0 / 0.7469 GB, free: 9.539 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.1744, allocations: 0 / 0.7469 GB, free: 9.539 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1744, allocations: 240 / 0.7469 GB, free: 9.539 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.1745, allocations: 188.2 kB / 0.7471 GB, free: 9.336 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.222e-05/0.1746, allocations: 8.031 kB / 0.7471 GB, free: 9.328 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.1746, allocations: 0 / 0.7471 GB, free: 9.328 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.315e-05/0.1746, allocations: 7.984 kB / 0.7471 GB, free: 9.32 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.794e-05/0.1747, allocations: 0 / 0.7471 GB, free: 9.32 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.1747, allocations: 4 kB / 0.7471 GB, free: 9.316 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.764e-05/0.1747, allocations: 79.86 kB / 0.7472 GB, free: 9.238 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.1747, allocations: 4 kB / 0.7472 GB, free: 9.234 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002649/0.175, allocations: 35.86 kB / 0.7472 GB, free: 9.199 MB / 0.5573 GB 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.0001814/0.1751, allocations: 127.1 kB / 0.7473 GB, free: 9.066 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001035/0.1752, allocations: 39.91 kB / 0.7474 GB, free: 9.027 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1752, allocations: 0 / 0.7474 GB, free: 9.027 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.15e-05/0.1753, allocations: 19.98 kB / 0.7474 GB, free: 9.008 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.1755, allocations: 7.938 kB / 0.7474 GB, free: 9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006707/0.1762, allocations: 226.3 kB / 0.7476 GB, free: 8.742 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.081e-05/0.1762, allocations: 63.34 kB / 0.7477 GB, free: 8.66 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.362e-05/0.1762, allocations: 15.42 kB / 0.7477 GB, free: 8.645 MB / 0.5573 GB Notification: Performance of SimCode: time 5.81e-07/0.1762, allocations: 3.938 kB / 0.7477 GB, free: 8.641 MB / 0.5573 GB Notification: Performance of Templates: time 0.002248/0.1785, allocations: 0.9394 MB / 0.7486 GB, free: 7.703 MB / 0.5573 GB " [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 > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.38449908234179]