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.0009296/0.0009296, allocations: 84.44 kB / 20.69 MB, free: 3.871 MB / 18.57 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.000828/0.000828, allocations: 165.9 kB / 23.96 MB, free: 0.5977 MB / 18.57 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.876/0.876, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 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.55/0.55, allocations: 114 MB / 374.7 MB, free: 8.699 MB / 346.7 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 2.254e-06/2.254e-06, allocations: 0 / 0.5554 GB, free: 2.258 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.556e-05, allocations: 5.125 kB / 0.5554 GB, free: 2.254 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.00186/0.001886, allocations: 1.469 MB / 0.5569 GB, free: 0.7773 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0007991/0.002685, allocations: 0.5682 MB / 0.5574 GB, free: 212 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.288e-05/0.002728, allocations: 0 / 0.5574 GB, free: 212 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.326e-05/0.002761, allocations: 11.88 kB / 0.5574 GB, free: 200 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.666e-05/0.002808, allocations: 0 / 0.5574 GB, free: 200 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005355/0.003343, allocations: 162.3 kB / 0.5576 GB, free: 40 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 9.61e-05/0.003439, allocations: 55.83 kB / 0.5576 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.406e-05/0.003483, allocations: 4 kB / 0.5576 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 7.894e-05/0.003562, allocations: 31.91 kB / 0.5577 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 3.762e-05/0.0036, allocations: 19.97 kB / 0.5577 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.003616, allocations: 8 kB / 0.5577 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003065/0.003922, allocations: 279.3 kB / 0.558 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.351e-05/0.003946, allocations: 19.91 kB / 0.558 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.377e-05/0.00397, allocations: 12 kB / 0.558 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.00421, allocations: 183.5 kB / 0.5582 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.004212, allocations: 0 / 0.5582 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.062e-06/0.004213, allocations: 0 / 0.5582 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.004217, allocations: 3.938 kB / 0.5582 GB, free: 15.43 MB / 0.5261 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.0004644/0.004681, allocations: 325.8 kB / 0.5585 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.004721, allocations: 8.031 kB / 0.5585 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.004762, allocations: 12.89 kB / 0.5585 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.241e-05/0.004844, allocations: 113.7 kB / 0.5586 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.004869, allocations: 8.375 kB / 0.5586 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.004891, allocations: 4.375 kB / 0.5586 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.005085, allocations: 129.6 kB / 0.5587 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.005098, allocations: 3.938 kB / 0.5588 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.005111, allocations: 4 kB / 0.5588 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.005118, allocations: 4 kB / 0.5588 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.005242, allocations: 55.89 kB / 0.5588 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004145/0.005656, allocations: 256.4 kB / 0.5591 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.005822, allocations: 82.47 kB / 0.5591 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.593e-05/0.005878, allocations: 24.84 kB / 0.5592 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.005898, allocations: 4 kB / 0.5592 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.005921, allocations: 30.56 kB / 0.5592 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.005922, allocations: 0 / 0.5592 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0009777/0.0069, allocations: 0.511 MB / 0.5597 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.006932, allocations: 55.41 kB / 0.5597 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.853e-05/0.00699, allocations: 101.8 kB / 0.5598 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.007002, allocations: 29.7 kB / 0.5599 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.891e-05/0.007041, allocations: 92.08 kB / 0.56 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.007071, allocations: 39.64 kB / 0.56 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.007106, allocations: 29.7 kB / 0.56 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.112e-05/0.007187, allocations: 318.8 kB / 0.5603 GB, free: 13 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.912e-05/0.007256, allocations: 31.97 kB / 0.5604 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.244e-05/0.007318, allocations: 31.98 kB / 0.5604 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.007449, allocations: 72.77 kB / 0.5605 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.00745, allocations: 4 kB / 0.5605 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001714/0.007621, allocations: 119.7 kB / 0.5606 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.007635, allocations: 7.984 kB / 0.5606 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.007642, allocations: 8.25 kB / 0.5606 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.007655, allocations: 0 / 0.5606 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.049e-05/0.007745, allocations: 23.98 kB / 0.5606 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.007751, allocations: 3.938 kB / 0.5606 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.175e-05/0.007783, allocations: 11.94 kB / 0.5606 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.007792, allocations: 7.984 kB / 0.5606 GB, free: 12.68 MB / 0.5261 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 6.725e-05/0.007859, allocations: 121.8 kB / 0.5608 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.524e-05/0.007874, allocations: 0 / 0.5608 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.008099, allocations: 129.5 kB / 0.5609 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.0081, allocations: 0 / 0.5609 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.008105, allocations: 0 / 0.5609 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.00811, allocations: 3.984 kB / 0.5609 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003309/0.008441, allocations: 326 kB / 0.5612 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.008442, allocations: 4 kB / 0.5612 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.066e-05/0.008523, allocations: 31.97 kB / 0.5612 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.008525, allocations: 96 / 0.5612 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.393e-06/0.008532, allocations: 3.938 kB / 0.5612 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.008535, allocations: 4 kB / 0.5612 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.008539, allocations: 7.875 kB / 0.5612 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002913/0.00883, allocations: 251.4 kB / 0.5615 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-06/0.008836, allocations: 0 / 0.5615 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.008849, allocations: 8.094 kB / 0.5615 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.152e-05/0.00891, allocations: 11.98 kB / 0.5615 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.227e-05/0.008933, allocations: 7.922 kB / 0.5615 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.008939, allocations: 4 kB / 0.5615 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.767e-05/0.008966, allocations: 83.28 kB / 0.5616 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.008966, allocations: 0 / 0.5616 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001952/0.009161, allocations: 39.88 kB / 0.5616 GB, free: 11.59 MB / 0.5261 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.0001534/0.009315, allocations: 135 kB / 0.5618 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001909/0.009506, allocations: 79.95 kB / 0.5618 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.009508, allocations: 0 / 0.5618 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.978e-05/0.009578, allocations: 47.84 kB / 0.5619 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/0.00977, allocations: 8.75 kB / 0.5619 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000446/0.01022, allocations: 291.3 kB / 0.5622 GB, free: 11 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.4e-05/0.01027, allocations: 79.33 kB / 0.5622 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.172e-05/0.0103, allocations: 24.48 kB / 0.5623 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of SimCode: time 3.7e-07/0.0103, allocations: 0 / 0.5623 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of Templates: time 0.002127/0.01243, allocations: 1.35 MB / 0.5636 GB, free: 9.539 MB / 0.5261 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.140388266183436] Failed to read output from testmodel.py, exit status != 0: 0.017199965193867683 0.024473188 0.018641355000000002 Calling exit ...