Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.0006793/0.0006793, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000914/0.001593, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.00106/0.00106, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001323/0.002383, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9156/0.9156, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07375/0.9893, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.7561/0.7561, allocations: 155.3 MB / 399.5 MB, free: 15.8 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.232/0.9881, allocations: 49.13 MB / 448.6 MB, free: 5.902 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0.875 kB / 450 MB, free: 4.59 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.395e-05, allocations: 4.562 kB / 450 MB, free: 4.586 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002912/0.002936, allocations: 1.565 MB / 451.5 MB, free: 3.043 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.003941, allocations: 0.6037 MB / 452.1 MB, free: 2.449 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.928e-05/0.00397, allocations: 1.906 kB / 452.1 MB, free: 2.449 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.706e-05/0.003997, allocations: 7.938 kB / 452.1 MB, free: 2.441 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.908e-05/0.004036, allocations: 6.891 kB / 452.1 MB, free: 2.438 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004958/0.004532, allocations: 156.4 kB / 452.3 MB, free: 2.297 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.004634, allocations: 64.8 kB / 452.4 MB, free: 2.246 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.268e-05/0.004677, allocations: 5.703 kB / 452.4 MB, free: 2.242 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.004782, allocations: 32.47 kB / 452.4 MB, free: 2.211 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.161e-05/0.004834, allocations: 24.39 kB / 452.4 MB, free: 2.188 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.004851, allocations: 4 kB / 452.4 MB, free: 2.184 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004503/0.005302, allocations: 276.7 kB / 452.7 MB, free: 1.914 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.139e-05/0.005323, allocations: 4 kB / 452.7 MB, free: 1.91 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.12e-05/0.005354, allocations: 15.94 kB / 452.7 MB, free: 1.895 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002927/0.005647, allocations: 156.2 kB / 452.9 MB, free: 1.742 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.184e-05/0.005659, allocations: 0 / 452.9 MB, free: 1.742 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.00566, allocations: 1.969 kB / 452.9 MB, free: 1.742 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.00567, allocations: 4 kB / 452.9 MB, free: 1.738 MB / 426.7 MB 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.0005199/0.00619, allocations: 318.2 kB / 453.2 MB, free: 1.402 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.006227, allocations: 8.031 kB / 453.2 MB, free: 1.395 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.328e-05/0.00627, allocations: 17.42 kB / 453.2 MB, free: 1.379 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.473e-05/0.006365, allocations: 101.8 kB / 453.3 MB, free: 1.254 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.00639, allocations: 9 kB / 453.3 MB, free: 1.246 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.006416, allocations: 10.03 kB / 453.3 MB, free: 1.238 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.006601, allocations: 127.8 kB / 453.5 MB, free: 1.094 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.006612, allocations: 192 / 453.5 MB, free: 1.094 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.006625, allocations: 8.359 kB / 453.5 MB, free: 1.086 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.006631, allocations: 1.812 kB / 453.5 MB, free: 1.086 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.827e-05/0.00668, allocations: 19.88 kB / 453.5 MB, free: 1.066 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.007056, allocations: 209.1 kB / 453.7 MB, free: 0.8477 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.007189, allocations: 51.39 kB / 453.7 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.366e-05/0.007213, allocations: 17.45 kB / 453.8 MB, free: 0.7695 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.00723, allocations: 7.938 kB / 453.8 MB, free: 0.7617 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.007258, allocations: 39.33 kB / 453.8 MB, free: 0.7148 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.00726, allocations: 0 / 453.8 MB, free: 0.7148 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.00104/0.0083, allocations: 455 kB / 454.2 MB, free: 228 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.00833, allocations: 55.34 kB / 454.3 MB, free: 160 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.317e-05/0.008394, allocations: 110.6 kB / 454.4 MB, free: 36 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.008429, allocations: 34.69 kB / 454.4 MB, free: 15.99 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.54e-05/0.008464, allocations: 88.83 kB / 454.5 MB, free: 15.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.0085, allocations: 39.55 kB / 454.6 MB, free: 15.87 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.634e-05/0.008546, allocations: 34.59 kB / 454.6 MB, free: 15.83 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.951e-05/0.008636, allocations: 314.8 kB / 454.9 MB, free: 15.51 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.61e-05/0.008662, allocations: 13.17 kB / 454.9 MB, free: 15.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.482e-05/0.008686, allocations: 12 kB / 454.9 MB, free: 15.49 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.028e-05/0.008747, allocations: 39.95 kB / 455 MB, free: 15.45 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.008748, allocations: 0.625 kB / 455 MB, free: 15.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001032/0.008851, allocations: 69.61 kB / 455 MB, free: 15.38 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.008865, allocations: 12.53 kB / 455.1 MB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.00887, allocations: 0.6562 kB / 455.1 MB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.008883, allocations: 0 / 455.1 MB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.009014, allocations: 32.52 kB / 455.1 MB, free: 15.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.009018, allocations: 0.5625 kB / 455.1 MB, free: 15.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.618e-05/0.009054, allocations: 11.98 kB / 455.1 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.009062, allocations: 0.625 kB / 455.1 MB, free: 15.32 MB / 442.7 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 (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 7.177e-05/0.009133, allocations: 114.7 kB / 455.2 MB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.009164, allocations: 7.938 kB / 455.2 MB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001514/0.009316, allocations: 86.88 kB / 455.3 MB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.009321, allocations: 3.984 kB / 455.3 MB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.009323, allocations: 0 / 455.3 MB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.009326, allocations: 0.7188 kB / 455.3 MB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003018/0.009628, allocations: 242.7 kB / 455.5 MB, free: 14.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.00963, allocations: 4.844 kB / 455.6 MB, free: 14.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.00976, allocations: 27.98 kB / 455.6 MB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.904e-06/0.009768, allocations: 1 kB / 455.6 MB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.009776, allocations: 4.5 kB / 455.6 MB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.009786, allocations: 4 kB / 455.6 MB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.009788, allocations: 0.625 kB / 455.6 MB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.009789, allocations: 1.312 kB / 455.6 MB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.01001, allocations: 197.2 kB / 455.8 MB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.01002, allocations: 0 / 455.8 MB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.481e-05/0.01011, allocations: 12.42 kB / 455.8 MB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.701e-05/0.01013, allocations: 1.219 kB / 455.8 MB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.01014, allocations: 13.36 kB / 455.8 MB, free: 14.56 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.478e-05/0.01015, allocations: 8.859 kB / 455.8 MB, free: 14.55 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01015, allocations: 0 / 455.8 MB, free: 14.55 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002765/0.01043, allocations: 39.88 kB / 455.9 MB, free: 14.51 MB / 442.7 MB 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.000248/0.01068, allocations: 129.2 kB / 456 MB, free: 14.38 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001219/0.0108, allocations: 53.5 kB / 456 MB, free: 14.32 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.0108, allocations: 0 / 456 MB, free: 14.32 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.608e-05/0.01087, allocations: 37.69 kB / 456.1 MB, free: 14.29 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.01112, allocations: 79.92 kB / 456.2 MB, free: 14.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.01264, allocations: 208.7 kB / 456.4 MB, free: 13.96 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.47e-05/0.01268, allocations: 67.98 kB / 456.4 MB, free: 13.88 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.405e-05/0.01274, allocations: 15.36 kB / 456.4 MB, free: 13.87 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.415e-05/0.01283, allocations: 64.02 kB / 456.5 MB, free: 13.8 MB / 442.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01283, allocations: 0 / 456.5 MB, free: 13.8 MB / 442.7 MB Notification: Performance of Templates: time 0.004012/0.01684, allocations: 1.457 MB / 458 MB, free: 12.51 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.477770204655826]