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.00118/0.00118, allocations: 108.1 kB / 20.45 MB, free: 4.586 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.001273/0.001273, allocations: 221.5 kB / 23.75 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 0.9884/0.9884, allocations: 230.6 MB / 257.5 MB, free: 9.602 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.6354/0.6354, allocations: 158 MB / 471.9 MB, free: 7.152 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_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 0.001345/0.001345, allocations: 73.61 kB / 0.6533 GB, free: 9.777 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1511, allocations: 91.1 MB / 0.7423 GB, free: 14.57 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2): time 0.001708/0.1528, allocations: 1.325 MB / 0.7436 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0007019/0.1535, allocations: 0.5577 MB / 0.7441 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.582e-05/0.1535, allocations: 0 / 0.7441 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.768e-05/0.1536, allocations: 7.938 kB / 0.7441 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.643e-05/0.1536, allocations: 3.984 kB / 0.7441 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00044/0.154, allocations: 167.3 kB / 0.7443 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 5.765e-05/0.1541, allocations: 31.84 kB / 0.7443 GB, free: 12.47 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.083e-05/0.1541, allocations: 4 kB / 0.7443 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.116e-05/0.1541, allocations: 8 kB / 0.7443 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.076e-05/0.1542, allocations: 11.92 kB / 0.7443 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 9.138e-06/0.1542, allocations: 7.938 kB / 0.7443 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003037/0.1545, allocations: 311.5 kB / 0.7446 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.563e-05/0.1545, allocations: 11.98 kB / 0.7447 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.194e-05/0.1545, allocations: 15.88 kB / 0.7447 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.1547, allocations: 143.6 kB / 0.7448 GB, free: 11.96 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1547, allocations: 0 / 0.7448 GB, free: 11.96 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1547, allocations: 0 / 0.7448 GB, free: 11.96 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.1548, allocations: 0 / 0.7448 GB, free: 11.96 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003115/0.1551, allocations: 293.9 kB / 0.7451 GB, free: 11.65 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.1551, allocations: 12.03 kB / 0.7451 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.792e-05/0.1551, allocations: 0.9375 kB / 0.7451 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.224e-05/0.1552, allocations: 118.4 kB / 0.7452 GB, free: 11.5 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.565e-06/0.1552, allocations: 4.375 kB / 0.7452 GB, free: 11.49 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.1552, allocations: 8.328 kB / 0.7452 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.1553, allocations: 109 kB / 0.7453 GB, free: 11.36 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1554, allocations: 3.938 kB / 0.7453 GB, free: 11.36 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.1554, allocations: 0 / 0.7453 GB, free: 11.36 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1554, allocations: 4 kB / 0.7453 GB, free: 11.35 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.016e-05/0.1554, allocations: 15.98 kB / 0.7454 GB, free: 11.34 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001093/0.1555, allocations: 109.3 kB / 0.7455 GB, free: 11.2 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.251e-05/0.1556, allocations: 62.56 kB / 0.7455 GB, free: 11.13 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.14e-05/0.1556, allocations: 24.84 kB / 0.7455 GB, free: 11.1 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.1556, allocations: 8 kB / 0.7455 GB, free: 11.09 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.1557, allocations: 38.5 kB / 0.7456 GB, free: 11.05 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.1557, allocations: 0 / 0.7456 GB, free: 11.05 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.001025/0.1567, allocations: 443.7 kB / 0.746 GB, free: 10.56 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.1567, allocations: 55.41 kB / 0.7461 GB, free: 10.49 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.946e-05/0.1568, allocations: 93.84 kB / 0.7462 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.1568, allocations: 33.83 kB / 0.7462 GB, free: 10.35 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.357e-05/0.1568, allocations: 88.12 kB / 0.7463 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.1568, allocations: 35.69 kB / 0.7463 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.1569, allocations: 25.72 kB / 0.7463 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.772e-05/0.1569, allocations: 326.8 kB / 0.7466 GB, free: 9.867 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.879e-05/0.157, allocations: 16 kB / 0.7467 GB, free: 9.852 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.799e-05/0.157, allocations: 27.23 kB / 0.7467 GB, free: 9.828 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.533e-05/0.1571, allocations: 56.86 kB / 0.7467 GB, free: 9.77 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1571, allocations: 0 / 0.7467 GB, free: 9.77 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001009/0.1572, allocations: 105.6 kB / 0.7468 GB, free: 9.66 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.1572, allocations: 4 kB / 0.7468 GB, free: 9.656 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1572, allocations: 4 kB / 0.7468 GB, free: 9.652 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.958e-06/0.1572, allocations: 0 / 0.7468 GB, free: 9.652 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.534e-05/0.1573, allocations: 27.92 kB / 0.7469 GB, free: 9.625 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.1573, allocations: 0 / 0.7469 GB, free: 9.625 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.411e-05/0.1573, allocations: 4 kB / 0.7469 GB, free: 9.621 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.1573, allocations: 4 kB / 0.7469 GB, free: 9.617 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 (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.25e-05/0.1573, allocations: 117.8 kB / 0.747 GB, free: 9.492 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.003e-06/0.1573, allocations: 0 / 0.747 GB, free: 9.492 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/0.1575, allocations: 117.6 kB / 0.7471 GB, free: 9.367 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1575, allocations: 0 / 0.7471 GB, free: 9.367 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1575, allocations: 0 / 0.7471 GB, free: 9.367 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1575, allocations: 4 kB / 0.7471 GB, free: 9.363 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/0.1578, allocations: 290.2 kB / 0.7474 GB, free: 9.043 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1578, allocations: 7.938 kB / 0.7474 GB, free: 9.035 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-05/0.1578, allocations: 23.92 kB / 0.7474 GB, free: 9.012 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1578, allocations: 0 / 0.7474 GB, free: 9.012 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.1579, allocations: 4 kB / 0.7474 GB, free: 9.008 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1579, allocations: 4 kB / 0.7474 GB, free: 9.004 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1579, allocations: 0 / 0.7474 GB, free: 9.004 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/0.158, allocations: 223.7 kB / 0.7476 GB, free: 8.77 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-06/0.158, allocations: 0 / 0.7476 GB, free: 8.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.158, allocations: 4.062 kB / 0.7476 GB, free: 8.766 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.975e-05/0.1581, allocations: 4 kB / 0.7476 GB, free: 8.762 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.743e-05/0.1581, allocations: 11.98 kB / 0.7477 GB, free: 8.75 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.1581, allocations: 0 / 0.7477 GB, free: 8.75 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.22e-05/0.1581, allocations: 79.28 kB / 0.7477 GB, free: 8.672 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.1581, allocations: 3.938 kB / 0.7477 GB, free: 8.668 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001914/0.1583, allocations: 59.73 kB / 0.7478 GB, free: 8.609 MB / 0.5573 GB 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.0001843/0.1585, allocations: 151 kB / 0.7479 GB, free: 8.453 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.1586, allocations: 55.91 kB / 0.748 GB, free: 8.398 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1586, allocations: 8.094 kB / 0.748 GB, free: 8.391 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.161e-05/0.1587, allocations: 31.94 kB / 0.748 GB, free: 8.359 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.1588, allocations: 4 kB / 0.748 GB, free: 8.355 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004138/0.1592, allocations: 314 kB / 0.7483 GB, free: 8.02 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.177e-05/0.1593, allocations: 71.33 kB / 0.7484 GB, free: 7.93 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.464e-05/0.1593, allocations: 23.42 kB / 0.7484 GB, free: 7.906 MB / 0.5573 GB Notification: Performance of SimCode: time 5.81e-07/0.1593, allocations: 0 / 0.7484 GB, free: 7.906 MB / 0.5573 GB Notification: Performance of Templates: time 0.002111/0.1614, allocations: 1.361 MB / 0.7497 GB, free: 6.547 MB / 0.5573 GB " [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: 5.67386897560209]