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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8959/0.8959, allocations: 134 MB / 438.5 MB, free: 13.6 MB / 350.1 MB " [Timeout remaining time 179] 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=2500,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=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 63.91 kB / 0.6084 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3838, allocations: 84.68 MB / 0.6911 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002407/0.3862, allocations: 1.474 MB / 0.6925 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.3873, allocations: 0.6427 MB / 0.6931 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.983e-05/0.3873, allocations: 0 / 0.6931 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.434e-05/0.3873, allocations: 1.531 kB / 0.6931 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.653e-05/0.3874, allocations: 15.84 kB / 0.6931 GB, free: 488 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005519/0.3879, allocations: 161.8 kB / 0.6933 GB, free: 376 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.536e-05/0.388, allocations: 50.5 kB / 0.6933 GB, free: 348 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.539e-05/0.3881, allocations: 2.312 kB / 0.6933 GB, free: 348 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.113e-05/0.3882, allocations: 25.73 kB / 0.6934 GB, free: 332 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.864e-05/0.3882, allocations: 24.03 kB / 0.6934 GB, free: 316 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.3882, allocations: 3.25 kB / 0.6934 GB, free: 316 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004958/0.3887, allocations: 345.3 kB / 0.6937 GB, free: 116 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.911e-05/0.3887, allocations: 26.09 kB / 0.6937 GB, free: 92 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.263e-05/0.3888, allocations: 16.38 kB / 0.6938 GB, free: 84 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003117/0.3891, allocations: 178.6 kB / 0.6939 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3891, allocations: 0 / 0.6939 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3891, allocations: 0 / 0.6939 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.3891, allocations: 1.062 kB / 0.6939 GB, free: 15.97 MB / 0.5137 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.0007374/0.3898, allocations: 398.9 kB / 0.6943 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.3899, allocations: 16.31 kB / 0.6943 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.731e-05/0.3899, allocations: 13.36 kB / 0.6943 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.3901, allocations: 174.3 kB / 0.6945 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.501e-05/0.3902, allocations: 2.594 kB / 0.6945 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.571e-05/0.3902, allocations: 9.688 kB / 0.6945 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002642/0.3905, allocations: 82.34 kB / 0.6946 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.3905, allocations: 3.953 kB / 0.6946 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.3905, allocations: 1.375 kB / 0.6946 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.3905, allocations: 1.094 kB / 0.6946 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002521/0.3908, allocations: 52.8 kB / 0.6947 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006443/0.3914, allocations: 324.5 kB / 0.695 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.3917, allocations: 73.97 kB / 0.695 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.3918, allocations: 42.5 kB / 0.6951 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.3918, allocations: 1.375 kB / 0.6951 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.3919, allocations: 35.94 kB / 0.6951 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 4.959e-06/0.3919, allocations: 3.984 kB / 0.6951 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.001661/0.3935, allocations: 0.645 MB / 0.6957 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.3936, allocations: 52.72 kB / 0.6958 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.823e-05/0.3937, allocations: 102.5 kB / 0.6959 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.3937, allocations: 26.92 kB / 0.6959 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.056e-05/0.3938, allocations: 94.31 kB / 0.696 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.3938, allocations: 40.16 kB / 0.696 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.333e-05/0.3939, allocations: 26.09 kB / 0.6961 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.394, allocations: 317.1 kB / 0.6964 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.3941, allocations: 37.28 kB / 0.6964 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.3943, allocations: 35.8 kB / 0.6964 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/0.3945, allocations: 71.73 kB / 0.6965 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.3945, allocations: 4 kB / 0.6965 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003157/0.3948, allocations: 119.1 kB / 0.6966 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.3948, allocations: 5.5 kB / 0.6966 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3948, allocations: 96 / 0.6966 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.3948, allocations: 9.344 kB / 0.6966 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.395, allocations: 28.33 kB / 0.6967 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.395, allocations: 3.984 kB / 0.6967 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.735e-05/0.3951, allocations: 4.125 kB / 0.6967 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.3951, allocations: 10.69 kB / 0.6967 GB, free: 13.39 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 9.498e-05/0.3952, allocations: 116.5 kB / 0.6968 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/0.3952, allocations: 8.078 kB / 0.6968 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003717/0.3956, allocations: 126.6 kB / 0.6969 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3956, allocations: 5.312 kB / 0.6969 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3956, allocations: 0 / 0.6969 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3956, allocations: 0 / 0.6969 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005794/0.3962, allocations: 393.8 kB / 0.6973 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3962, allocations: 3.938 kB / 0.6973 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.3963, allocations: 24.61 kB / 0.6973 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3963, allocations: 0 / 0.6973 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.3963, allocations: 1.375 kB / 0.6973 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3963, allocations: 1.375 kB / 0.6973 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3963, allocations: 0 / 0.6973 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004889/0.3968, allocations: 256.2 kB / 0.6976 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-05/0.3969, allocations: 86.38 kB / 0.6977 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.3969, allocations: 5.359 kB / 0.6977 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.397, allocations: 8.125 kB / 0.6977 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.573e-05/0.397, allocations: 8.109 kB / 0.6977 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.397, allocations: 2.75 kB / 0.6977 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.821e-05/0.3971, allocations: 87.47 kB / 0.6978 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.3971, allocations: 0 / 0.6978 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004074/0.3975, allocations: 45.92 kB / 0.6978 GB, free: 12.38 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.0002416/0.3977, allocations: 124.4 kB / 0.6979 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003491/0.3981, allocations: 84 kB / 0.698 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3981, allocations: 1.375 kB / 0.698 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.3982, allocations: 36.67 kB / 0.6981 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.3985, allocations: 23.77 kB / 0.6981 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006532/0.3992, allocations: 328.6 kB / 0.6984 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.3995, allocations: 0.6943 MB / 0.6991 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.71e-05/0.3995, allocations: 15.91 kB / 0.6991 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.613e-05/0.3996, allocations: 17.5 kB / 0.6991 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of SimCode: time 7.21e-07/0.3996, allocations: 0 / 0.6991 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of Templates: time 0.003849/0.4034, allocations: 1.171 MB / 0.7002 GB, free: 10.66 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] [Calling sys.exit(0), Time elapsed: 5.663046675734222]