Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 225.6 MB / 249.9 MB, free: 3.227 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8497/0.8497, allocations: 133.9 MB / 439 MB, free: 13.7 MB / 350.1 MB [Timeout remaining time 89] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 67.89 kB / 0.6087 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4022/0.4041, allocations: 84.67 MB / 0.6914 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002202/0.4063, allocations: 1.465 MB / 0.6929 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00091/0.4073, allocations: 0.6461 MB / 0.6935 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.358e-05/0.4073, allocations: 1.062 kB / 0.6935 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.876e-05/0.4073, allocations: 3.938 kB / 0.6935 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.996e-05/0.4074, allocations: 5.031 kB / 0.6935 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005214/0.4079, allocations: 170.7 kB / 0.6937 GB, free: 416 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.338e-05/0.408, allocations: 50.28 kB / 0.6937 GB, free: 388 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.819e-05/0.408, allocations: 7.797 kB / 0.6937 GB, free: 384 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.646e-05/0.4081, allocations: 16.25 kB / 0.6937 GB, free: 376 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.19e-05/0.4081, allocations: 39.58 kB / 0.6938 GB, free: 344 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.4081, allocations: 4.344 kB / 0.6938 GB, free: 344 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004314/0.4086, allocations: 347.9 kB / 0.6941 GB, free: 140 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.4086, allocations: 7.312 kB / 0.6941 GB, free: 136 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.136e-05/0.4086, allocations: 28.39 kB / 0.6941 GB, free: 116 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.4089, allocations: 174.2 kB / 0.6943 GB, free: 12 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.4089, allocations: 3.984 kB / 0.6943 GB, free: 8 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4089, allocations: 0 / 0.6943 GB, free: 8 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.4089, allocations: 1.125 kB / 0.6943 GB, free: 8 kB / 0.4981 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.0006876/0.4096, allocations: 398.5 kB / 0.6947 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.4096, allocations: 10.12 kB / 0.6947 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.203e-05/0.4097, allocations: 7.859 kB / 0.6947 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.4098, allocations: 169.8 kB / 0.6949 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.954e-05/0.4098, allocations: 8.688 kB / 0.6949 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/0.4099, allocations: 8.75 kB / 0.6949 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.4101, allocations: 89.89 kB / 0.695 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.4101, allocations: 3.953 kB / 0.695 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.4102, allocations: 5.188 kB / 0.695 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.4102, allocations: 1.062 kB / 0.695 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002225/0.4104, allocations: 52.42 kB / 0.695 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005849/0.411, allocations: 325 kB / 0.6953 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.4113, allocations: 74.5 kB / 0.6954 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.4114, allocations: 30.09 kB / 0.6954 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.4114, allocations: 1.094 kB / 0.6954 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.4114, allocations: 39.73 kB / 0.6955 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.4114, allocations: 1.219 kB / 0.6955 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.001695/0.4131, allocations: 0.6477 MB / 0.6961 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.4132, allocations: 56.41 kB / 0.6962 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.142e-05/0.4133, allocations: 99.86 kB / 0.6963 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.4133, allocations: 26.83 kB / 0.6963 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.021e-05/0.4134, allocations: 93.27 kB / 0.6964 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.257e-05/0.4134, allocations: 40.28 kB / 0.6964 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-05/0.4135, allocations: 26.34 kB / 0.6964 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.4136, allocations: 325.2 kB / 0.6968 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.4138, allocations: 29.55 kB / 0.6968 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.4139, allocations: 36.44 kB / 0.6968 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.4141, allocations: 74.33 kB / 0.6969 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.4141, allocations: 0 / 0.6969 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003218/0.4144, allocations: 123.4 kB / 0.697 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.4145, allocations: 8.062 kB / 0.697 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.4145, allocations: 1.375 kB / 0.697 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.4145, allocations: 3.938 kB / 0.697 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.4146, allocations: 24.61 kB / 0.697 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.4146, allocations: 1.375 kB / 0.697 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.864e-05/0.4147, allocations: 6.734 kB / 0.6971 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.4147, allocations: 8.125 kB / 0.6971 GB, free: 13.44 MB / 0.5137 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 0.0001111/0.4148, allocations: 116.6 kB / 0.6972 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.398e-05/0.4149, allocations: 6.703 kB / 0.6972 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003756/0.4152, allocations: 131 kB / 0.6973 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.4152, allocations: 5.312 kB / 0.6973 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4152, allocations: 1.375 kB / 0.6973 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.4152, allocations: 0 / 0.6973 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006144/0.4159, allocations: 380.4 kB / 0.6977 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.4159, allocations: 9.5 kB / 0.6977 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/0.416, allocations: 27.22 kB / 0.6977 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.416, allocations: 1.375 kB / 0.6977 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.416, allocations: 9.359 kB / 0.6977 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.416, allocations: 0 / 0.6977 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.416, allocations: 1.375 kB / 0.6977 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005071/0.4165, allocations: 244.3 kB / 0.698 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.334e-05/0.4166, allocations: 90.38 kB / 0.698 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.4166, allocations: 5.312 kB / 0.698 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.4167, allocations: 8.109 kB / 0.698 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-05/0.4168, allocations: 8.109 kB / 0.6981 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.4168, allocations: 6.75 kB / 0.6981 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.823e-05/0.4168, allocations: 81.97 kB / 0.6981 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.4168, allocations: 0 / 0.6981 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003124/0.4171, allocations: 41.94 kB / 0.6982 GB, free: 12.43 MB / 0.5137 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.000246/0.4174, allocations: 144 kB / 0.6983 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003329/0.4177, allocations: 80.33 kB / 0.6984 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.4177, allocations: 1.312 kB / 0.6984 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.4178, allocations: 42.25 kB / 0.6984 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.4182, allocations: 14.22 kB / 0.6985 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006978/0.4189, allocations: 342.6 kB / 0.6988 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.4192, allocations: 0.6913 MB / 0.6995 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.258e-05/0.4192, allocations: 17.58 kB / 0.6995 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of SimCode: time 4.31e-07/0.4192, allocations: 4 kB / 0.6995 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of Templates: time 0.003598/0.4228, allocations: 1.329 MB / 0.7008 GB, free: 10.57 MB / 0.5137 GB [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 480]