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.001346/0.001346, allocations: 79.75 kB / 19.93 MB, free: 1.766 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.001479/0.001479, allocations: 174.6 kB / 23.23 MB, free: 4.879 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.374/1.374, allocations: 177.1 MB / 203.5 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 179] 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.8893/0.8893, allocations: 114 MB / 373.9 MB, free: 13.21 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: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.5547 GB, free: 2.617 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.058e-05/3.212e-05, allocations: 10.02 kB / 0.5547 GB, free: 2.609 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002496/0.002528, allocations: 1.47 MB / 0.5561 GB, free: 1.137 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.003578, allocations: 0.5643 MB / 0.5567 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.831e-05/0.003616, allocations: 0 / 0.5567 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.396e-05/0.00365, allocations: 3.938 kB / 0.5567 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 4.42e-05/0.003694, allocations: 7.938 kB / 0.5567 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005891/0.004283, allocations: 166.5 kB / 0.5568 GB, free: 408 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.306e-05/0.004376, allocations: 51.83 kB / 0.5569 GB, free: 356 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.069e-05/0.004427, allocations: 7.938 kB / 0.5569 GB, free: 348 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.849e-05/0.004516, allocations: 31.91 kB / 0.5569 GB, free: 316 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.722e-05/0.004563, allocations: 19.97 kB / 0.5569 GB, free: 296 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.004581, allocations: 4 kB / 0.5569 GB, free: 292 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004253/0.005006, allocations: 279.4 kB / 0.5572 GB, free: 12 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.979e-05/0.005046, allocations: 16.02 kB / 0.5572 GB, free: 15.99 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.973e-05/0.005086, allocations: 15.94 kB / 0.5572 GB, free: 15.98 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003115/0.005398, allocations: 187.4 kB / 0.5574 GB, free: 15.8 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.0054, allocations: 0 / 0.5574 GB, free: 15.8 MB / 478.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.0054, allocations: 0 / 0.5574 GB, free: 15.8 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.005404, allocations: 0 / 0.5574 GB, free: 15.8 MB / 478.1 MB 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.0006062/0.006011, allocations: 317.8 kB / 0.5577 GB, free: 15.46 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.006046, allocations: 8.031 kB / 0.5577 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.006087, allocations: 12.83 kB / 0.5577 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.006206, allocations: 121.7 kB / 0.5579 GB, free: 15.29 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.006231, allocations: 8.375 kB / 0.5579 GB, free: 15.29 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.006257, allocations: 8.375 kB / 0.5579 GB, free: 15.28 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.006531, allocations: 129.6 kB / 0.558 GB, free: 15.13 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.006545, allocations: 3.938 kB / 0.558 GB, free: 15.13 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.006556, allocations: 0 / 0.558 GB, free: 15.13 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.006562, allocations: 4 kB / 0.558 GB, free: 15.12 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002394/0.006801, allocations: 51.89 kB / 0.5581 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005317/0.007333, allocations: 264.3 kB / 0.5583 GB, free: 14.79 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002998/0.007633, allocations: 74.53 kB / 0.5584 GB, free: 14.7 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.007755, allocations: 28.83 kB / 0.5584 GB, free: 14.67 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.007776, allocations: 4 kB / 0.5584 GB, free: 14.67 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.007804, allocations: 38.5 kB / 0.5584 GB, free: 14.62 MB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 1.123e-06/0.007806, allocations: 0 / 0.5584 GB, free: 14.62 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.001645/0.00945, allocations: 0.4958 MB / 0.5589 GB, free: 14.07 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.009494, allocations: 55.41 kB / 0.559 GB, free: 14 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.459e-05/0.009578, allocations: 101.8 kB / 0.5591 GB, free: 13.89 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.009598, allocations: 25.7 kB / 0.5591 GB, free: 13.86 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.899e-05/0.009657, allocations: 96.08 kB / 0.5592 GB, free: 13.77 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/0.0097, allocations: 39.64 kB / 0.5592 GB, free: 13.73 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.862e-05/0.009749, allocations: 29.7 kB / 0.5593 GB, free: 13.69 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.009892, allocations: 322.8 kB / 0.5596 GB, free: 13.37 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.01003, allocations: 27.97 kB / 0.5596 GB, free: 13.34 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.01016, allocations: 31.98 kB / 0.5596 GB, free: 13.31 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.01042, allocations: 75.45 kB / 0.5597 GB, free: 13.23 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.01042, allocations: 0 / 0.5597 GB, free: 13.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003286/0.01075, allocations: 121.7 kB / 0.5598 GB, free: 13.11 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.01076, allocations: 7.984 kB / 0.5598 GB, free: 13.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.01077, allocations: 0 / 0.5598 GB, free: 13.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.01078, allocations: 4 kB / 0.5598 GB, free: 13.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.01094, allocations: 27.98 kB / 0.5599 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.01095, allocations: 0 / 0.5599 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.139e-05/0.01102, allocations: 7.938 kB / 0.5599 GB, free: 13.06 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.01103, allocations: 11.92 kB / 0.5599 GB, free: 13.05 MB / 478.1 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 9.812e-05/0.01113, allocations: 130.8 kB / 0.56 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.088e-05/0.01116, allocations: 4 kB / 0.56 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003868/0.01155, allocations: 129.1 kB / 0.5601 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01155, allocations: 0 / 0.5601 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.01155, allocations: 0 / 0.5601 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.01156, allocations: 3.984 kB / 0.5601 GB, free: 12.78 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005578/0.01212, allocations: 326 kB / 0.5604 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01212, allocations: 0 / 0.5604 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.01227, allocations: 35.97 kB / 0.5605 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01227, allocations: 0 / 0.5605 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.01229, allocations: 4 kB / 0.5605 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.01229, allocations: 0 / 0.5605 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.01229, allocations: 3.938 kB / 0.5605 GB, free: 12.38 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005493/0.01284, allocations: 251.3 kB / 0.5607 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.014e-06/0.01285, allocations: 0 / 0.5607 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.131e-05/0.01291, allocations: 8.031 kB / 0.5607 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.01303, allocations: 12.05 kB / 0.5607 GB, free: 12.1 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.604e-05/0.01306, allocations: 7.922 kB / 0.5608 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.01307, allocations: 8 kB / 0.5608 GB, free: 12.09 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.044e-05/0.01311, allocations: 79.47 kB / 0.5608 GB, free: 12.01 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01311, allocations: 0 / 0.5608 GB, free: 12.01 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.01338, allocations: 39.88 kB / 0.5609 GB, free: 11.97 MB / 478.1 MB 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.0002271/0.0136, allocations: 135.2 kB / 0.561 GB, free: 11.83 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0003254/0.01393, allocations: 79.89 kB / 0.5611 GB, free: 11.75 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.01393, allocations: 4 kB / 0.5611 GB, free: 11.75 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.01408, allocations: 47.91 kB / 0.5611 GB, free: 11.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.01433, allocations: 8.609 kB / 0.5611 GB, free: 11.69 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006072/0.01493, allocations: 265.1 kB / 0.5614 GB, free: 11.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.185e-05/0.01501, allocations: 79.58 kB / 0.5615 GB, free: 11.3 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 5.407e-05/0.01506, allocations: 20.7 kB / 0.5615 GB, free: 11.29 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.46e-05/0.01509, allocations: 16.5 kB / 0.5615 GB, free: 11.27 MB / 478.1 MB Notification: Performance of SimCode: time 3.21e-07/0.0151, allocations: 7.875 kB / 0.5615 GB, free: 11.26 MB / 478.1 MB Notification: Performance of Templates: time 0.004118/0.01921, allocations: 1.133 MB / 0.5626 GB, free: 10.2 MB / 478.1 MB " [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 -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.088642776012421] Failed to read output from testmodel.py, exit status != 0: 0.027245279401540756 0.041096632 0.032939232 Calling exit ...