Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001411/0.001411, allocations: 84.8 kB / 21.62 MB, free: 2.836 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.001301/0.001301, allocations: 165.4 kB / 25.04 MB, free: 9.25 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.8925/0.8925, allocations: 177.1 MB / 205.5 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.9/1.9, allocations: 389.6 MB / 0.6363 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.7761 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.774e-05/1.926e-05, allocations: 3.297 kB / 0.7761 GB, free: 5.258 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.00181/0.001829, allocations: 1.573 MB / 0.7777 GB, free: 3.695 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007449/0.002574, allocations: 0.6075 MB / 0.7783 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.551e-05/0.002599, allocations: 0 / 0.7783 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.405e-05/0.002633, allocations: 5.031 kB / 0.7783 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.446e-05/0.002678, allocations: 10.45 kB / 0.7783 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000415/0.003093, allocations: 162.3 kB / 0.7784 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.81e-05/0.003161, allocations: 55.77 kB / 0.7785 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.329e-05/0.003194, allocations: 4 kB / 0.7785 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.589e-05/0.00326, allocations: 35.95 kB / 0.7785 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.135e-05/0.003291, allocations: 15.92 kB / 0.7786 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.003304, allocations: 4 kB / 0.7786 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000278/0.003582, allocations: 274.5 kB / 0.7788 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.763e-05/0.003599, allocations: 15.92 kB / 0.7788 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.998e-05/0.003619, allocations: 19.97 kB / 0.7789 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.003817, allocations: 187.3 kB / 0.779 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.003818, allocations: 0 / 0.779 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.32e-07/0.003819, allocations: 0 / 0.779 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.003822, allocations: 0 / 0.779 GB, free: 2.336 MB / 0.7292 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.0003094/0.004132, allocations: 300.5 kB / 0.7793 GB, free: 2.016 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.00416, allocations: 10.09 kB / 0.7793 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.641e-05/0.004187, allocations: 8.938 kB / 0.7793 GB, free: 2 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.417e-05/0.004261, allocations: 110.9 kB / 0.7794 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.004279, allocations: 4.375 kB / 0.7794 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.004299, allocations: 12.33 kB / 0.7795 GB, free: 1.852 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.004424, allocations: 134.4 kB / 0.7796 GB, free: 1.703 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.004433, allocations: 192 / 0.7796 GB, free: 1.703 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.004442, allocations: 8.906 kB / 0.7796 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.004447, allocations: 384 / 0.7796 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.039e-05/0.004477, allocations: 20.83 kB / 0.7796 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002561/0.004733, allocations: 209 kB / 0.7798 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.264e-05/0.004826, allocations: 56.3 kB / 0.7799 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.534e-05/0.004841, allocations: 8.859 kB / 0.7799 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.004854, allocations: 4 kB / 0.7799 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.004874, allocations: 34.5 kB / 0.7799 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.004875, allocations: 0.6875 kB / 0.7799 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0009321/0.005807, allocations: 450.7 kB / 0.7803 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.005833, allocations: 55.41 kB / 0.7804 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.76e-05/0.005881, allocations: 108.3 kB / 0.7805 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.809e-06/0.005891, allocations: 25.7 kB / 0.7805 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.619e-05/0.005917, allocations: 96.08 kB / 0.7806 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.005942, allocations: 39.64 kB / 0.7807 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.005972, allocations: 30.5 kB / 0.7807 GB, free: 468 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.135e-05/0.006034, allocations: 322.8 kB / 0.781 GB, free: 136 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.633e-05/0.00605, allocations: 12.88 kB / 0.781 GB, free: 124 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.577e-05/0.006066, allocations: 12.12 kB / 0.781 GB, free: 112 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.767e-05/0.006104, allocations: 41.38 kB / 0.7811 GB, free: 68 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.006104, allocations: 3.938 kB / 0.7811 GB, free: 64 kB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 7.67e-05/0.006181, allocations: 77.22 kB / 0.7811 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.277e-06/0.00619, allocations: 4 kB / 0.7811 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.006194, allocations: 1.188 kB / 0.7811 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.654e-06/0.006201, allocations: 0 / 0.7811 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.932e-05/0.006271, allocations: 31.92 kB / 0.7812 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-06/0.006273, allocations: 5.438 kB / 0.7812 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.873e-05/0.006292, allocations: 0 / 0.7812 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.006299, allocations: 8 kB / 0.7812 GB, free: 15.94 MB / 0.7448 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 5.215e-05/0.006351, allocations: 114.5 kB / 0.7813 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.018e-05/0.006371, allocations: 16.98 kB / 0.7813 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.938e-05/0.00646, allocations: 73.78 kB / 0.7814 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.006463, allocations: 4 kB / 0.7814 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.006464, allocations: 0.5 kB / 0.7814 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.006467, allocations: 0 / 0.7814 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.006658, allocations: 239.6 kB / 0.7816 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.006659, allocations: 0 / 0.7816 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.637e-05/0.006726, allocations: 28.92 kB / 0.7816 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.006727, allocations: 0 / 0.7816 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.006734, allocations: 3.984 kB / 0.7816 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.006736, allocations: 0.9688 kB / 0.7816 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.006737, allocations: 0 / 0.7816 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.006849, allocations: 184.1 kB / 0.7818 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-06/0.006855, allocations: 7.953 kB / 0.7818 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.227e-06/0.006865, allocations: 8.625 kB / 0.7818 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.238e-05/0.006907, allocations: 9.109 kB / 0.7818 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.19e-05/0.006919, allocations: 4 kB / 0.7818 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/0.006926, allocations: 7.984 kB / 0.7818 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.909e-06/0.006936, allocations: 14.44 kB / 0.7819 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006936, allocations: 0 / 0.7819 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001403/0.007076, allocations: 35.88 kB / 0.7819 GB, free: 15.15 MB / 0.7448 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.0001152/0.007191, allocations: 117.6 kB / 0.782 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.947e-05/0.007271, allocations: 53.2 kB / 0.7821 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.007273, allocations: 0 / 0.7821 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.523e-05/0.007298, allocations: 36.72 kB / 0.7821 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000118/0.007416, allocations: 17.61 kB / 0.7821 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000408/0.007824, allocations: 246.8 kB / 0.7823 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.993e-05/0.007854, allocations: 63.34 kB / 0.7824 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.526e-05/0.00789, allocations: 14.27 kB / 0.7824 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.215e-05/0.007942, allocations: 63.36 kB / 0.7825 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of SimCode: time 5.72e-07/0.007942, allocations: 1.344 kB / 0.7825 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of Templates: time 0.002828/0.01077, allocations: 1.286 MB / 0.7837 GB, free: 13.34 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.681606343947351]