Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.00104/0.00104, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.0009993/0.0009993, allocations: 169 kB / 23.02 MB, free: 1.543 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.9222/0.9222, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.7377/0.7377, allocations: 154.9 MB / 414.8 MB, free: 420 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.5207 GB, free: 1.824 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.15e-05/2.279e-05, allocations: 2.312 kB / 0.5207 GB, free: 1.82 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001687/0.00171, allocations: 1.325 MB / 0.522 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007771/0.002487, allocations: 0.5842 MB / 0.5226 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.781e-05/0.002514, allocations: 0 / 0.5226 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.325e-05/0.002538, allocations: 0 / 0.5226 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 3.82e-05/0.002576, allocations: 5.594 kB / 0.5226 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004907/0.003067, allocations: 155.2 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 6.143e-05/0.003128, allocations: 28.95 kB / 0.5227 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.517e-05/0.003163, allocations: 7.984 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.282e-05/0.003196, allocations: 17.08 kB / 0.5228 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.454e-05/0.003251, allocations: 11.98 kB / 0.5228 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.003266, allocations: 4 kB / 0.5228 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002794/0.003545, allocations: 272 kB / 0.523 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/0.003562, allocations: 7.984 kB / 0.523 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.844e-05/0.00358, allocations: 5.031 kB / 0.523 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.003783, allocations: 163.5 kB / 0.5232 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.003787, allocations: 3.984 kB / 0.5232 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.11e-07/0.003787, allocations: 1.562 kB / 0.5232 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.003792, allocations: 0 / 0.5232 GB, free: 15.26 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003604/0.004152, allocations: 391.9 kB / 0.5236 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.004191, allocations: 8.031 kB / 0.5236 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.527e-05/0.004247, allocations: 18.34 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.825e-05/0.004345, allocations: 112.6 kB / 0.5237 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.004358, allocations: 1.062 kB / 0.5237 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.004386, allocations: 8.375 kB / 0.5237 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.004511, allocations: 98.94 kB / 0.5238 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.004522, allocations: 192 / 0.5238 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.004532, allocations: 384 / 0.5238 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.00454, allocations: 384 / 0.5238 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.497e-05/0.004575, allocations: 21.23 kB / 0.5238 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001389/0.004714, allocations: 124.6 kB / 0.524 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.004814, allocations: 70.95 kB / 0.524 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.952e-05/0.004854, allocations: 28.45 kB / 0.5241 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.00487, allocations: 0.8438 kB / 0.5241 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.004897, allocations: 37.39 kB / 0.5241 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.004899, allocations: 0 / 0.5241 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.001086/0.005985, allocations: 450.5 kB / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.006012, allocations: 55.41 kB / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.905e-05/0.006071, allocations: 157.9 kB / 0.5247 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.006082, allocations: 30.2 kB / 0.5247 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.819e-05/0.00611, allocations: 127.6 kB / 0.5249 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.089e-05/0.006151, allocations: 49.12 kB / 0.5249 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.006185, allocations: 35.36 kB / 0.525 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.076e-05/0.006275, allocations: 496.1 kB / 0.5254 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.545e-05/0.006301, allocations: 15.98 kB / 0.5254 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.368e-05/0.006324, allocations: 20.48 kB / 0.5255 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.801e-05/0.006382, allocations: 46.94 kB / 0.5255 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.006383, allocations: 1.031 kB / 0.5255 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 9.273e-05/0.006476, allocations: 85.69 kB / 0.5256 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.006488, allocations: 8.953 kB / 0.5256 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.006493, allocations: 3.938 kB / 0.5256 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.006506, allocations: 3.938 kB / 0.5256 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.512e-05/0.006581, allocations: 20.62 kB / 0.5256 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.006586, allocations: 0 / 0.5256 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.371e-05/0.0066, allocations: 7.281 kB / 0.5256 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.006607, allocations: 7.984 kB / 0.5256 GB, free: 12.52 MB / 0.4948 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.761e-05/0.006665, allocations: 160.6 kB / 0.5258 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.006676, allocations: 7.953 kB / 0.5258 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.0068, allocations: 101.6 kB / 0.5259 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.006803, allocations: 3.938 kB / 0.5259 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.006806, allocations: 0 / 0.5259 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.006809, allocations: 3.984 kB / 0.5259 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002714/0.007081, allocations: 335.9 kB / 0.5262 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.007082, allocations: 0 / 0.5262 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.69e-05/0.007149, allocations: 27.92 kB / 0.5262 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.007153, allocations: 7.938 kB / 0.5263 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.007161, allocations: 0 / 0.5263 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.007163, allocations: 4 kB / 0.5263 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.007164, allocations: 1.031 kB / 0.5263 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.007326, allocations: 247.9 kB / 0.5265 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.023e-06/0.007333, allocations: 4 kB / 0.5265 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.007345, allocations: 8.922 kB / 0.5265 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.184e-05/0.007387, allocations: 4 kB / 0.5265 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.825e-05/0.007405, allocations: 16.89 kB / 0.5265 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.463e-06/0.007412, allocations: 4 kB / 0.5265 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.879e-05/0.007441, allocations: 123.9 kB / 0.5267 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007441, allocations: 0 / 0.5267 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001742/0.007615, allocations: 34.62 kB / 0.5267 GB, free: 11.38 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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.0001477/0.007763, allocations: 139.1 kB / 0.5268 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001103/0.007873, allocations: 59.59 kB / 0.5269 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.007875, allocations: 4 kB / 0.5269 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.741e-05/0.007902, allocations: 31.67 kB / 0.5269 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.008056, allocations: 11.3 kB / 0.5269 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005906/0.008647, allocations: 256.1 kB / 0.5272 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.66e-05/0.008693, allocations: 59.34 kB / 0.5272 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.765e-05/0.008731, allocations: 14.28 kB / 0.5272 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.997e-05/0.008761, allocations: 16.44 kB / 0.5273 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of SimCode: time 7.51e-07/0.008762, allocations: 0 / 0.5273 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of Templates: time 0.002941/0.0117, allocations: 1.03 MB / 0.5283 GB, free: 9.84 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5282706092111766]