Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001784/0.001784, allocations: 71.12 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.002269/0.002269, allocations: 169.2 kB / 23.77 MB, free: 4.457 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.497/1.497, allocations: 177.2 MB / 204.1 MB, free: 8.957 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.9214/0.9214, 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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [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.0021/0.0021, allocations: 74.66 kB / 0.555 GB, free: 2.711 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1809, allocations: 89.15 MB / 0.6421 GB, free: 9.516 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002579/0.1834, allocations: 1.275 MB / 0.6433 GB, free: 8.23 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.1846, allocations: 0.541 MB / 0.6439 GB, free: 7.688 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.35e-05/0.1846, allocations: 0 / 0.6439 GB, free: 7.688 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.514e-05/0.1846, allocations: 7.938 kB / 0.6439 GB, free: 7.68 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.224e-05/0.1847, allocations: 0 / 0.6439 GB, free: 7.68 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005719/0.1852, allocations: 146 kB / 0.644 GB, free: 7.539 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.475e-05/0.1853, allocations: 23.92 kB / 0.644 GB, free: 7.516 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.369e-05/0.1854, allocations: 4 kB / 0.644 GB, free: 7.512 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.222e-05/0.1854, allocations: 11.88 kB / 0.6441 GB, free: 7.5 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.703e-05/0.1854, allocations: 11.92 kB / 0.6441 GB, free: 7.488 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.1855, allocations: 0 / 0.6441 GB, free: 7.488 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004667/0.1859, allocations: 275.5 kB / 0.6443 GB, free: 7.219 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.693e-05/0.1859, allocations: 3.938 kB / 0.6443 GB, free: 7.215 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.581e-05/0.186, allocations: 7.984 kB / 0.6443 GB, free: 7.207 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002628/0.1862, allocations: 139.5 kB / 0.6445 GB, free: 7.07 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1862, allocations: 0 / 0.6445 GB, free: 7.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1862, allocations: 0 / 0.6445 GB, free: 7.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.1862, allocations: 0 / 0.6445 GB, free: 7.07 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004686/0.1867, allocations: 286 kB / 0.6447 GB, free: 6.762 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.1867, allocations: 8.031 kB / 0.6448 GB, free: 6.754 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.1868, allocations: 0.9375 kB / 0.6448 GB, free: 6.754 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.1869, allocations: 118.5 kB / 0.6449 GB, free: 6.613 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.1869, allocations: 4.375 kB / 0.6449 GB, free: 6.609 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.1869, allocations: 4.375 kB / 0.6449 GB, free: 6.605 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.1871, allocations: 71.27 kB / 0.6449 GB, free: 6.523 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1871, allocations: 0 / 0.6449 GB, free: 6.523 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.1871, allocations: 0 / 0.6449 GB, free: 6.523 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1871, allocations: 7.984 kB / 0.645 GB, free: 6.516 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.962e-05/0.1871, allocations: 11.94 kB / 0.645 GB, free: 6.504 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001609/0.1873, allocations: 117.3 kB / 0.6451 GB, free: 6.359 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.1875, allocations: 38.61 kB / 0.6451 GB, free: 6.312 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.123e-05/0.1875, allocations: 12.86 kB / 0.6451 GB, free: 6.297 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.1876, allocations: 8 kB / 0.6451 GB, free: 6.289 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.1876, allocations: 34.5 kB / 0.6452 GB, free: 6.246 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.1876, allocations: 0 / 0.6452 GB, free: 6.246 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.00066/0.1883, allocations: 233.3 kB / 0.6454 GB, free: 5.984 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.1883, allocations: 55.34 kB / 0.6454 GB, free: 5.918 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.788e-05/0.1884, allocations: 97.86 kB / 0.6455 GB, free: 5.812 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.1884, allocations: 25.7 kB / 0.6456 GB, free: 5.781 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.551e-05/0.1885, allocations: 80.14 kB / 0.6456 GB, free: 5.699 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.1885, allocations: 27.78 kB / 0.6457 GB, free: 5.672 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-05/0.1885, allocations: 17.72 kB / 0.6457 GB, free: 5.648 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.1887, allocations: 322.8 kB / 0.646 GB, free: 5.324 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.831e-05/0.1888, allocations: 8 kB / 0.646 GB, free: 5.316 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.498e-05/0.1888, allocations: 15.98 kB / 0.646 GB, free: 5.301 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.278e-05/0.1889, allocations: 32.84 kB / 0.646 GB, free: 5.266 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1889, allocations: 0 / 0.646 GB, free: 5.266 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001077/0.189, allocations: 69.58 kB / 0.6461 GB, free: 5.191 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.189, allocations: 7.984 kB / 0.6461 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.189, allocations: 3.938 kB / 0.6461 GB, free: 5.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.189, allocations: 0 / 0.6461 GB, free: 5.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.038e-05/0.189, allocations: 12 kB / 0.6461 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.1891, allocations: 4 kB / 0.6461 GB, free: 5.164 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.695e-05/0.1891, allocations: 0 / 0.6461 GB, free: 5.164 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.1891, allocations: 0 / 0.6461 GB, free: 5.164 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 (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 9.064e-05/0.1892, allocations: 113.8 kB / 0.6462 GB, free: 5.043 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.526e-05/0.1892, allocations: 7.891 kB / 0.6463 GB, free: 5.035 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001468/0.1893, allocations: 77.73 kB / 0.6463 GB, free: 4.949 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1893, allocations: 0 / 0.6463 GB, free: 4.949 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.1893, allocations: 0 / 0.6463 GB, free: 4.949 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1893, allocations: 3.938 kB / 0.6463 GB, free: 4.945 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003425/0.1897, allocations: 267.1 kB / 0.6466 GB, free: 4.645 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1897, allocations: 4.031 kB / 0.6466 GB, free: 4.641 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.966e-05/0.1897, allocations: 12 kB / 0.6466 GB, free: 4.629 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1897, allocations: 0 / 0.6466 GB, free: 4.629 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.1897, allocations: 4 kB / 0.6466 GB, free: 4.625 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1898, allocations: 0 / 0.6466 GB, free: 4.625 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1898, allocations: 0 / 0.6466 GB, free: 4.625 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.19, allocations: 180.9 kB / 0.6468 GB, free: 4.43 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.298e-05/0.19, allocations: 7.953 kB / 0.6468 GB, free: 4.422 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.19, allocations: 4 kB / 0.6468 GB, free: 4.418 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.266e-05/0.1901, allocations: 7.922 kB / 0.6468 GB, free: 4.41 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.796e-05/0.1901, allocations: 4 kB / 0.6468 GB, free: 4.406 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.1901, allocations: 8.047 kB / 0.6468 GB, free: 4.398 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.502e-05/0.1901, allocations: 83.28 kB / 0.6469 GB, free: 4.316 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1901, allocations: 0 / 0.6469 GB, free: 4.316 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002481/0.1904, allocations: 23.92 kB / 0.6469 GB, free: 4.293 MB / 0.545 GB 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.0001724/0.1906, allocations: 119.1 kB / 0.647 GB, free: 4.168 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001183/0.1907, allocations: 36.16 kB / 0.6471 GB, free: 4.133 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1907, allocations: 0 / 0.6471 GB, free: 4.133 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.937e-05/0.1907, allocations: 16 kB / 0.6471 GB, free: 4.117 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.1909, allocations: 8 kB / 0.6471 GB, free: 4.109 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004138/0.1913, allocations: 196.4 kB / 0.6473 GB, free: 3.887 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.892e-05/0.1914, allocations: 63.34 kB / 0.6473 GB, free: 3.805 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.25e-05/0.1914, allocations: 12.14 kB / 0.6473 GB, free: 3.793 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.202e-05/0.1915, allocations: 12.5 kB / 0.6474 GB, free: 3.781 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.1915, allocations: 0 / 0.6474 GB, free: 3.781 MB / 0.545 GB Notification: Performance of Templates: time 0.003213/0.1947, allocations: 0.6462 MB / 0.648 GB, free: 3.184 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.438569014077075] Failed to read output from testmodel.py, exit status != 0: 0.20324960397556424 0.21691061900000003 0.027720453000000003 Calling exit ...