Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.0009296/0.0009296, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009606/0.0009606, allocations: 169.3 kB / 23.02 MB, free: 1.551 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 1.012/1.012, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.7564/0.7564, allocations: 154.8 MB / 414.7 MB, free: 0.4961 MB / 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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.5206 GB, free: 1.953 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.409e-05, allocations: 7.891 kB / 0.5206 GB, free: 1.949 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.00188/0.001904, allocations: 1.316 MB / 0.5219 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008304/0.002735, allocations: 0.5725 MB / 0.5224 GB, free: 76 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.804e-05/0.002763, allocations: 0 / 0.5224 GB, free: 76 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.398e-05/0.002787, allocations: 7.922 kB / 0.5224 GB, free: 68 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.437e-05/0.002831, allocations: 0 / 0.5224 GB, free: 68 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000446/0.003277, allocations: 149.3 kB / 0.5226 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 5.635e-05/0.003334, allocations: 23.92 kB / 0.5226 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.46e-05/0.003378, allocations: 0 / 0.5226 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.986e-05/0.003428, allocations: 17.33 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.484e-05/0.003473, allocations: 3.984 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.00349, allocations: 7.938 kB / 0.5226 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002936/0.003784, allocations: 267.4 kB / 0.5229 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.583e-05/0.0038, allocations: 5.219 kB / 0.5229 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.154e-05/0.003821, allocations: 7.984 kB / 0.5229 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.004032, allocations: 155.5 kB / 0.523 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.004034, allocations: 2.719 kB / 0.523 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.352e-06/0.004036, allocations: 0 / 0.523 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.00404, allocations: 0 / 0.523 GB, free: 15.45 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003858/0.004426, allocations: 388 kB / 0.5234 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.004471, allocations: 8.031 kB / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.214e-05/0.004523, allocations: 9.234 kB / 0.5234 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.668e-05/0.004609, allocations: 104.6 kB / 0.5235 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.004624, allocations: 0.875 kB / 0.5235 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.209e-05/0.004656, allocations: 8.312 kB / 0.5235 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.004776, allocations: 64.48 kB / 0.5236 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.004782, allocations: 5.156 kB / 0.5236 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.004793, allocations: 4.359 kB / 0.5236 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.004801, allocations: 384 / 0.5236 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.857e-05/0.004829, allocations: 13.55 kB / 0.5236 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001306/0.00496, allocations: 120.6 kB / 0.5237 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.005135, allocations: 51.03 kB / 0.5238 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.805e-05/0.005164, allocations: 24.7 kB / 0.5238 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.005182, allocations: 0 / 0.5238 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.005204, allocations: 38.8 kB / 0.5238 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 5.91e-07/0.005205, allocations: 0 / 0.5238 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0005645/0.005769, allocations: 233.7 kB / 0.5241 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.005797, allocations: 55.34 kB / 0.5241 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.373e-05/0.00587, allocations: 163.1 kB / 0.5243 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.005881, allocations: 25.7 kB / 0.5243 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.648e-05/0.005917, allocations: 126.9 kB / 0.5244 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.005947, allocations: 28.47 kB / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.005977, allocations: 27.31 kB / 0.5245 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.006105, allocations: 0.4896 MB / 0.5249 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.997e-05/0.006125, allocations: 11.94 kB / 0.525 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.589e-05/0.00614, allocations: 11.98 kB / 0.525 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.21e-05/0.006183, allocations: 26.94 kB / 0.525 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.006184, allocations: 0 / 0.525 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.628e-05/0.00627, allocations: 61.69 kB / 0.5251 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.006285, allocations: 4 kB / 0.5251 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.00629, allocations: 0 / 0.5251 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.006307, allocations: 0 / 0.5251 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.9e-05/0.006356, allocations: 15.94 kB / 0.5251 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.006362, allocations: 3.938 kB / 0.5251 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.144e-05/0.006374, allocations: 0 / 0.5251 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.00638, allocations: 6.812 kB / 0.5251 GB, free: 13.12 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 (7): * Single equations (assignments): 7 * 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 6.773e-05/0.006448, allocations: 160.6 kB / 0.5252 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.957e-06/0.006456, allocations: 4 kB / 0.5252 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.006562, allocations: 65.81 kB / 0.5253 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.006564, allocations: 0 / 0.5253 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.006568, allocations: 3.938 kB / 0.5253 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.006571, allocations: 0 / 0.5253 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.006804, allocations: 322.5 kB / 0.5256 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.006806, allocations: 0.5156 kB / 0.5256 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.109e-05/0.006847, allocations: 12 kB / 0.5256 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.006849, allocations: 0.5 kB / 0.5256 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.006859, allocations: 10.06 kB / 0.5256 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.006863, allocations: 7.922 kB / 0.5256 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.006865, allocations: 4.188 kB / 0.5256 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.006999, allocations: 219.6 kB / 0.5259 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.839e-05/0.007017, allocations: 11.97 kB / 0.5259 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.007029, allocations: 7.938 kB / 0.5259 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.951e-05/0.007068, allocations: 2.438 kB / 0.5259 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.759e-05/0.007086, allocations: 4 kB / 0.5259 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.00709, allocations: 0 / 0.5259 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.295e-05/0.007122, allocations: 127.2 kB / 0.526 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.007123, allocations: 0 / 0.526 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001753/0.007298, allocations: 23.94 kB / 0.526 GB, free: 12.07 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0001466/0.007445, allocations: 125.1 kB / 0.5261 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001034/0.007548, allocations: 39.89 kB / 0.5262 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.00755, allocations: 0 / 0.5262 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.672e-05/0.007577, allocations: 31.61 kB / 0.5262 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/0.007754, allocations: 5.594 kB / 0.5262 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005578/0.008311, allocations: 184.9 kB / 0.5264 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.568e-05/0.008347, allocations: 55.36 kB / 0.5264 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.409e-05/0.008371, allocations: 9.484 kB / 0.5265 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.075e-05/0.008392, allocations: 12.5 kB / 0.5265 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of SimCode: time 6.61e-07/0.008393, allocations: 1.719 kB / 0.5265 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of Templates: time 0.002665/0.01106, allocations: 0.6335 MB / 0.5271 GB, free: 11 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8990148180164397]