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.001182/0.001182, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001194/0.001194, allocations: 173 kB / 23.49 MB, free: 1.062 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.9408/0.9408, allocations: 177.1 MB / 203.8 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.7738/0.7738, allocations: 154.8 MB / 415.1 MB, free: 492 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.443e-06/1.443e-06, allocations: 0 / 0.5206 GB, free: 2.285 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.564e-05/2.708e-05, allocations: 2.312 kB / 0.5206 GB, free: 2.281 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002387/0.002414, allocations: 1.313 MB / 0.5219 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.003469, allocations: 0.5878 MB / 0.5224 GB, free: 404 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.552e-05/0.003504, allocations: 0 / 0.5224 GB, free: 404 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.33e-05/0.003528, allocations: 3.938 kB / 0.5224 GB, free: 400 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.942e-05/0.003567, allocations: 0.75 kB / 0.5224 GB, free: 400 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006397/0.004207, allocations: 156.4 kB / 0.5226 GB, free: 244 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.859e-05/0.004285, allocations: 32.34 kB / 0.5226 GB, free: 212 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.686e-05/0.004332, allocations: 4 kB / 0.5226 GB, free: 208 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.356e-05/0.004376, allocations: 16.64 kB / 0.5226 GB, free: 192 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.391e-05/0.00444, allocations: 12.95 kB / 0.5227 GB, free: 180 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.004459, allocations: 3.984 kB / 0.5227 GB, free: 176 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004301/0.004889, allocations: 267.4 kB / 0.5229 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.916e-05/0.004908, allocations: 4.953 kB / 0.5229 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.951e-05/0.004937, allocations: 11.94 kB / 0.5229 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002827/0.00522, allocations: 172.7 kB / 0.5231 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.005224, allocations: 0 / 0.5231 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.292e-06/0.005225, allocations: 0 / 0.5231 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.005231, allocations: 3.938 kB / 0.5231 GB, free: 15.73 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.0004226/0.005653, allocations: 391.9 kB / 0.5235 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.0057, allocations: 8.531 kB / 0.5235 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.775e-05/0.005757, allocations: 14.14 kB / 0.5235 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.005862, allocations: 108.6 kB / 0.5236 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.005875, allocations: 1.188 kB / 0.5236 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.005904, allocations: 4.375 kB / 0.5236 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.006042, allocations: 102.3 kB / 0.5237 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.006053, allocations: 192 / 0.5237 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.006065, allocations: 5.406 kB / 0.5237 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.006074, allocations: 4.312 kB / 0.5237 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.768e-05/0.006121, allocations: 19.92 kB / 0.5237 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001564/0.006278, allocations: 121.4 kB / 0.5238 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.006395, allocations: 56.77 kB / 0.5239 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.392e-05/0.006439, allocations: 27.67 kB / 0.5239 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.006457, allocations: 0 / 0.5239 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.006485, allocations: 41.39 kB / 0.524 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.006486, allocations: 3.938 kB / 0.524 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.001068/0.007554, allocations: 462.1 kB / 0.5244 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.007588, allocations: 52.16 kB / 0.5245 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.282e-05/0.007681, allocations: 155.2 kB / 0.5246 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.007698, allocations: 33.69 kB / 0.5246 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.846e-05/0.007737, allocations: 126.9 kB / 0.5248 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.038e-05/0.007777, allocations: 36.91 kB / 0.5248 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.702e-05/0.007824, allocations: 35.36 kB / 0.5248 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.007955, allocations: 0.4884 MB / 0.5253 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.787e-05/0.007993, allocations: 15.98 kB / 0.5253 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.473e-05/0.008028, allocations: 22.2 kB / 0.5253 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.611e-05/0.008114, allocations: 54.62 kB / 0.5254 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.008115, allocations: 0 / 0.5254 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001348/0.00825, allocations: 85.67 kB / 0.5255 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.008265, allocations: 4 kB / 0.5255 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.00827, allocations: 3.938 kB / 0.5255 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.008287, allocations: 9.719 kB / 0.5255 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.008388, allocations: 16 kB / 0.5255 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.008396, allocations: 4.297 kB / 0.5255 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.962e-05/0.008415, allocations: 0 / 0.5255 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.008423, allocations: 4.562 kB / 0.5255 GB, free: 12.99 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 8.489e-05/0.008508, allocations: 165.4 kB / 0.5257 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.008533, allocations: 11.95 kB / 0.5257 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001724/0.008705, allocations: 98.88 kB / 0.5258 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.008709, allocations: 3.938 kB / 0.5258 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.008714, allocations: 3.984 kB / 0.5258 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.008719, allocations: 6.938 kB / 0.5258 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003641/0.009083, allocations: 337.3 kB / 0.5261 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.009085, allocations: 0 / 0.5261 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.881e-05/0.009184, allocations: 23.98 kB / 0.5261 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.009189, allocations: 3.938 kB / 0.5261 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.009202, allocations: 8 kB / 0.5262 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.009203, allocations: 0 / 0.5262 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.009205, allocations: 0 / 0.5262 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.009436, allocations: 262.8 kB / 0.5264 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.03e-05/0.009446, allocations: 7.953 kB / 0.5264 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.009462, allocations: 3.938 kB / 0.5264 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.343e-05/0.009536, allocations: 4 kB / 0.5264 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.297e-05/0.009559, allocations: 7.984 kB / 0.5264 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.009568, allocations: 4 kB / 0.5264 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.109e-05/0.009609, allocations: 123.2 kB / 0.5265 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.009609, allocations: 1.5 kB / 0.5265 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002809/0.00989, allocations: 35.88 kB / 0.5266 GB, free: 11.84 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.000211/0.0101, allocations: 127.1 kB / 0.5267 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001499/0.01025, allocations: 70.28 kB / 0.5268 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01025, allocations: 3.062 kB / 0.5268 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.773e-05/0.0103, allocations: 43.55 kB / 0.5268 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.01053, allocations: 4.562 kB / 0.5268 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007382/0.01127, allocations: 249.6 kB / 0.5271 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.538e-05/0.01132, allocations: 63.34 kB / 0.5271 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.434e-05/0.01136, allocations: 5.344 kB / 0.5271 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.156e-05/0.01139, allocations: 20.48 kB / 0.5271 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of SimCode: time 1.032e-06/0.01139, allocations: 0.9375 kB / 0.5271 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of Templates: time 0.003524/0.01492, allocations: 0.9397 MB / 0.5281 GB, free: 10.38 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.838591326959431]