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.001329/0.001329, allocations: 74.98 kB / 19.93 MB, free: 1.77 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.00143/0.00143, allocations: 168.9 kB / 23.22 MB, free: 4.887 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.369/1.369, allocations: 177.1 MB / 203.5 MB, free: 9.168 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.8822/0.8822, allocations: 114 MB / 373.9 MB, free: 13.24 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: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.5547 GB, free: 2.629 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.01e-05/3.167e-05, allocations: 2.281 kB / 0.5547 GB, free: 2.625 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002408/0.002439, allocations: 1.295 MB / 0.5559 GB, free: 1.328 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.003559, allocations: 0.5409 MB / 0.5565 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.922e-05/0.003588, allocations: 0 / 0.5565 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.246e-05/0.003611, allocations: 7.922 kB / 0.5565 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 4.331e-05/0.003654, allocations: 4 kB / 0.5565 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006061/0.00426, allocations: 147.2 kB / 0.5566 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 6.459e-05/0.004325, allocations: 23.92 kB / 0.5566 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.004365, allocations: 4 kB / 0.5566 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.461e-05/0.004419, allocations: 11.92 kB / 0.5567 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.817e-05/0.004468, allocations: 7.984 kB / 0.5567 GB, free: 0.582 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.004481, allocations: 0 / 0.5567 GB, free: 0.582 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004356/0.004917, allocations: 271.4 kB / 0.5569 GB, free: 324 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.398e-05/0.004931, allocations: 0 / 0.5569 GB, free: 324 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.567e-05/0.004956, allocations: 11.98 kB / 0.5569 GB, free: 312 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.005243, allocations: 159.4 kB / 0.5571 GB, free: 152 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.005246, allocations: 0 / 0.5571 GB, free: 152 kB / 462.1 MB Notification: Performance of FrontEnd: time 6.72e-07/0.005246, allocations: 0 / 0.5571 GB, free: 152 kB / 462.1 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.00525, allocations: 4 kB / 0.5571 GB, free: 148 kB / 462.1 MB 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.0004133/0.005663, allocations: 282 kB / 0.5574 GB, free: 15.84 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.005694, allocations: 12.03 kB / 0.5574 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.483e-05/0.005729, allocations: 4.891 kB / 0.5574 GB, free: 15.82 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.005839, allocations: 105.8 kB / 0.5575 GB, free: 15.7 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.005852, allocations: 4.375 kB / 0.5575 GB, free: 15.69 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.005873, allocations: 4.375 kB / 0.5575 GB, free: 15.69 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.005995, allocations: 67.94 kB / 0.5576 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.006006, allocations: 3.938 kB / 0.5576 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.006014, allocations: 3.938 kB / 0.5576 GB, free: 15.6 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.006021, allocations: 4 kB / 0.5576 GB, free: 15.6 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.928e-05/0.00606, allocations: 15.92 kB / 0.5576 GB, free: 15.58 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001525/0.006213, allocations: 105.3 kB / 0.5577 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.006413, allocations: 46.61 kB / 0.5577 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.446e-05/0.006448, allocations: 16.94 kB / 0.5577 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.00647, allocations: 0 / 0.5577 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.006497, allocations: 34.56 kB / 0.5578 GB, free: 15.33 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.006498, allocations: 0 / 0.5578 GB, free: 15.33 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006369/0.007135, allocations: 233 kB / 0.558 GB, free: 15.07 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.007181, allocations: 55.41 kB / 0.558 GB, free: 15 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.102e-05/0.007262, allocations: 101.8 kB / 0.5581 GB, free: 14.89 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.007281, allocations: 25.7 kB / 0.5582 GB, free: 14.86 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.838e-05/0.00734, allocations: 84.14 kB / 0.5583 GB, free: 14.78 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.007367, allocations: 15.86 kB / 0.5583 GB, free: 14.76 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/0.007405, allocations: 17.72 kB / 0.5583 GB, free: 14.74 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.007562, allocations: 318.8 kB / 0.5586 GB, free: 14.42 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.521e-05/0.007587, allocations: 12 kB / 0.5586 GB, free: 14.41 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.477e-05/0.007612, allocations: 11.98 kB / 0.5586 GB, free: 14.39 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.457e-05/0.007687, allocations: 36.84 kB / 0.5586 GB, free: 14.36 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.007687, allocations: 0 / 0.5586 GB, free: 14.36 MB / 478.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001056/0.007793, allocations: 73.58 kB / 0.5587 GB, free: 14.28 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.007808, allocations: 7.938 kB / 0.5587 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.007812, allocations: 0 / 0.5587 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.007824, allocations: 0 / 0.5587 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.037e-05/0.007874, allocations: 8 kB / 0.5587 GB, free: 14.26 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.00788, allocations: 4.234 kB / 0.5587 GB, free: 14.26 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.109e-05/0.007901, allocations: 8.062 kB / 0.5587 GB, free: 14.25 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.007906, allocations: 0 / 0.5587 GB, free: 14.25 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 (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.031e-05/0.007996, allocations: 118.9 kB / 0.5589 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.004e-05/0.008006, allocations: 0 / 0.5589 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.008152, allocations: 85.67 kB / 0.5589 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.008154, allocations: 4 kB / 0.5589 GB, free: 14.03 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.008157, allocations: 0.5156 kB / 0.5589 GB, free: 14.03 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.00816, allocations: 0 / 0.5589 GB, free: 14.03 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002996/0.00846, allocations: 259.1 kB / 0.5592 GB, free: 13.74 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.008463, allocations: 7.875 kB / 0.5592 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.206e-05/0.008525, allocations: 12 kB / 0.5592 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.008527, allocations: 0 / 0.5592 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.008533, allocations: 0 / 0.5592 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.008537, allocations: 4 kB / 0.5592 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.00854, allocations: 3.984 kB / 0.5592 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.008737, allocations: 184.3 kB / 0.5594 GB, free: 13.51 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.453e-05/0.008761, allocations: 19.89 kB / 0.5594 GB, free: 13.49 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.008775, allocations: 4 kB / 0.5594 GB, free: 13.49 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.217e-05/0.008857, allocations: 0 / 0.5594 GB, free: 13.49 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.443e-05/0.008872, allocations: 0 / 0.5594 GB, free: 13.49 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.008879, allocations: 8 kB / 0.5594 GB, free: 13.48 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.027e-05/0.008929, allocations: 83.27 kB / 0.5595 GB, free: 13.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.008929, allocations: 0 / 0.5595 GB, free: 13.4 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002372/0.009166, allocations: 19.88 kB / 0.5595 GB, free: 13.38 MB / 478.1 MB 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.0001827/0.009349, allocations: 127.2 kB / 0.5596 GB, free: 13.25 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 9.992e-05/0.009449, allocations: 32.11 kB / 0.5597 GB, free: 13.21 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.00945, allocations: 0 / 0.5597 GB, free: 13.21 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 2.985e-05/0.00948, allocations: 20 kB / 0.5597 GB, free: 13.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.009703, allocations: 11.72 kB / 0.5597 GB, free: 13.19 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003647/0.01007, allocations: 169.6 kB / 0.5599 GB, free: 12.99 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.152e-05/0.01014, allocations: 63.34 kB / 0.5599 GB, free: 12.91 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 2.669e-05/0.01017, allocations: 7.984 kB / 0.5599 GB, free: 12.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.334e-05/0.01019, allocations: 12.5 kB / 0.5599 GB, free: 12.89 MB / 478.1 MB Notification: Performance of SimCode: time 4.01e-07/0.01019, allocations: 0 / 0.5599 GB, free: 12.89 MB / 478.1 MB Notification: Performance of Templates: time 0.002962/0.01315, allocations: 0.6508 MB / 0.5606 GB, free: 12.29 MB / 478.1 MB " [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 -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.0387037098407745] Failed to read output from testmodel.py, exit status != 0: 0.021245811134576797 0.034859373 0.026615932000000002 Calling exit ...