Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001795/0.001795, allocations: 72.3 kB / 20.51 MB, free: 1.285 MB / 14.72 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.001506/0.001506, allocations: 165.4 kB / 23.76 MB, free: 4.469 MB / 14.72 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.487/1.487, allocations: 177.2 MB / 204.1 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9362/0.9362, allocations: 113.9 MB / 374.5 MB, free: 12.88 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 67.89 kB / 0.555 GB, free: 2.727 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1679, allocations: 89.14 MB / 0.6421 GB, free: 9.535 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003586/0.1715, allocations: 1.456 MB / 0.6435 GB, free: 8.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.1728, allocations: 0.5643 MB / 0.6441 GB, free: 7.504 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.956e-05/0.1729, allocations: 0 / 0.6441 GB, free: 7.504 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.074e-05/0.1729, allocations: 3.938 kB / 0.6441 GB, free: 7.5 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.896e-05/0.173, allocations: 7.922 kB / 0.6441 GB, free: 7.492 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000895/0.1739, allocations: 163.4 kB / 0.6442 GB, free: 7.332 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.174, allocations: 51.89 kB / 0.6443 GB, free: 7.281 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.037e-05/0.1741, allocations: 0 / 0.6443 GB, free: 7.281 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.82e-05/0.1741, allocations: 23.92 kB / 0.6443 GB, free: 7.258 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.199e-05/0.1742, allocations: 31.83 kB / 0.6443 GB, free: 7.227 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.1742, allocations: 7.938 kB / 0.6443 GB, free: 7.219 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005641/0.1748, allocations: 267.5 kB / 0.6446 GB, free: 6.957 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.43e-05/0.1748, allocations: 19.97 kB / 0.6446 GB, free: 6.938 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.782e-05/0.1749, allocations: 19.88 kB / 0.6446 GB, free: 6.918 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003663/0.1752, allocations: 167.4 kB / 0.6448 GB, free: 6.754 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1752, allocations: 7.984 kB / 0.6448 GB, free: 6.746 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.953e-06/0.1752, allocations: 0 / 0.6448 GB, free: 6.746 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.1753, allocations: 0 / 0.6448 GB, free: 6.746 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006539/0.1759, allocations: 323.5 kB / 0.6451 GB, free: 6.402 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.1759, allocations: 8.031 kB / 0.6451 GB, free: 6.395 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.82e-05/0.176, allocations: 8.891 kB / 0.6451 GB, free: 6.387 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.1761, allocations: 110.5 kB / 0.6452 GB, free: 6.254 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.1761, allocations: 8.375 kB / 0.6452 GB, free: 6.246 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.1762, allocations: 12.33 kB / 0.6453 GB, free: 6.234 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003095/0.1765, allocations: 133 kB / 0.6454 GB, free: 6.086 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.1765, allocations: 0 / 0.6454 GB, free: 6.086 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.1765, allocations: 0 / 0.6454 GB, free: 6.086 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.1765, allocations: 7.938 kB / 0.6454 GB, free: 6.078 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002499/0.1768, allocations: 47.95 kB / 0.6454 GB, free: 6.031 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000563/0.1773, allocations: 268.3 kB / 0.6457 GB, free: 5.738 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003272/0.1777, allocations: 82.47 kB / 0.6458 GB, free: 5.648 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.1778, allocations: 28.84 kB / 0.6458 GB, free: 5.617 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.1778, allocations: 0 / 0.6458 GB, free: 5.617 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.1778, allocations: 34.56 kB / 0.6458 GB, free: 5.574 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.1778, allocations: 0 / 0.6458 GB, free: 5.574 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001715/0.1795, allocations: 0.4996 MB / 0.6463 GB, free: 5.02 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/0.1796, allocations: 59.34 kB / 0.6464 GB, free: 4.949 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.406e-05/0.1797, allocations: 101.8 kB / 0.6465 GB, free: 4.84 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.1797, allocations: 25.7 kB / 0.6465 GB, free: 4.809 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.1798, allocations: 92.09 kB / 0.6466 GB, free: 4.715 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.124e-05/0.1799, allocations: 35.78 kB / 0.6466 GB, free: 4.68 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.635e-05/0.1799, allocations: 33.64 kB / 0.6466 GB, free: 4.641 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1801, allocations: 318.8 kB / 0.647 GB, free: 4.32 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.1802, allocations: 35.91 kB / 0.647 GB, free: 4.285 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.1804, allocations: 38.34 kB / 0.647 GB, free: 4.25 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002597/0.1806, allocations: 68.84 kB / 0.6471 GB, free: 4.18 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1806, allocations: 0 / 0.6471 GB, free: 4.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003322/0.181, allocations: 128.4 kB / 0.6472 GB, free: 4.051 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.181, allocations: 9.562 kB / 0.6472 GB, free: 4.043 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.181, allocations: 192 / 0.6472 GB, free: 4.043 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.181, allocations: 4 kB / 0.6472 GB, free: 4.039 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.1811, allocations: 27.92 kB / 0.6473 GB, free: 4.012 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.1812, allocations: 3.938 kB / 0.6473 GB, free: 4.008 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.925e-05/0.1812, allocations: 7.984 kB / 0.6473 GB, free: 4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.1812, allocations: 7.984 kB / 0.6473 GB, free: 3.992 MB / 0.545 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 9.619e-05/0.1813, allocations: 121.1 kB / 0.6474 GB, free: 3.867 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.1814, allocations: 7.953 kB / 0.6474 GB, free: 3.859 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003946/0.1818, allocations: 129.6 kB / 0.6475 GB, free: 3.723 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1818, allocations: 0 / 0.6475 GB, free: 3.723 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.1818, allocations: 3.938 kB / 0.6475 GB, free: 3.719 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1818, allocations: 7.984 kB / 0.6475 GB, free: 3.711 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005654/0.1823, allocations: 314.2 kB / 0.6478 GB, free: 3.367 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1823, allocations: 0 / 0.6478 GB, free: 3.367 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.1825, allocations: 31.91 kB / 0.6479 GB, free: 3.336 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1825, allocations: 0 / 0.6479 GB, free: 3.336 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.1825, allocations: 7.938 kB / 0.6479 GB, free: 3.328 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.1825, allocations: 8 kB / 0.6479 GB, free: 3.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1825, allocations: 4 kB / 0.6479 GB, free: 3.316 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005407/0.1831, allocations: 247.4 kB / 0.6481 GB, free: 3.059 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.023e-05/0.1831, allocations: 3.984 kB / 0.6481 GB, free: 3.055 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.1831, allocations: 7.938 kB / 0.6481 GB, free: 3.047 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.1832, allocations: 7.984 kB / 0.6481 GB, free: 3.039 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.42e-05/0.1832, allocations: 11.98 kB / 0.6481 GB, free: 3.027 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.1833, allocations: 0 / 0.6481 GB, free: 3.027 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.408e-05/0.1833, allocations: 79.28 kB / 0.6482 GB, free: 2.949 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1833, allocations: 4.062 kB / 0.6482 GB, free: 2.945 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002874/0.1836, allocations: 43.86 kB / 0.6483 GB, free: 2.902 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (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.0002146/0.1838, allocations: 127 kB / 0.6484 GB, free: 2.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003418/0.1841, allocations: 79.89 kB / 0.6485 GB, free: 2.691 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1841, allocations: 3.938 kB / 0.6485 GB, free: 2.688 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.1843, allocations: 43.91 kB / 0.6485 GB, free: 2.645 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.1846, allocations: 12 kB / 0.6485 GB, free: 2.633 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007224/0.1853, allocations: 321.8 kB / 0.6488 GB, free: 2.285 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.712e-05/0.1854, allocations: 75.33 kB / 0.6489 GB, free: 2.191 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.672e-05/0.1855, allocations: 12.72 kB / 0.6489 GB, free: 2.18 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.106e-05/0.1855, allocations: 16.5 kB / 0.6489 GB, free: 2.164 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.1855, allocations: 0 / 0.6489 GB, free: 2.164 MB / 0.545 GB Notification: Performance of Templates: time 0.004316/0.1898, allocations: 1.123 MB / 0.65 GB, free: 1.09 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.5615409289021045] Failed to read output from testmodel.py, exit status != 0: 0.19887173606548458 0.21409285600000003 0.035665541 Calling exit ...