Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001138/0.001138, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001304/0.001304, allocations: 169 kB / 23.27 MB, free: 1.223 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.9187/0.9187, allocations: 177.1 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7702/0.7702, allocations: 154.6 MB / 414.8 MB, free: 0.5234 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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 4.0.0/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_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_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.5208 GB, free: 1.867 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/1.992e-05, allocations: 2.312 kB / 0.5208 GB, free: 1.863 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.00159/0.00161, allocations: 1.319 MB / 0.5221 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007643/0.002374, allocations: 0.576 MB / 0.5226 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.106e-05/0.002405, allocations: 1.25 kB / 0.5226 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.825e-05/0.002424, allocations: 0 / 0.5226 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 3.885e-05/0.002462, allocations: 7.828 kB / 0.5226 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004647/0.002927, allocations: 149.1 kB / 0.5228 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 5.276e-05/0.00298, allocations: 23.92 kB / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.706e-05/0.003017, allocations: 8 kB / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.974e-05/0.003057, allocations: 25.59 kB / 0.5228 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.655e-05/0.003113, allocations: 11.98 kB / 0.5228 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.003125, allocations: 0 / 0.5228 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002744/0.0034, allocations: 267.4 kB / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.003413, allocations: 8.734 kB / 0.5231 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.532e-05/0.003428, allocations: 8 kB / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.003612, allocations: 164.9 kB / 0.5233 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.003613, allocations: 0 / 0.5233 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.61e-07/0.003614, allocations: 4 kB / 0.5233 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.003617, allocations: 0 / 0.5233 GB, free: 15.32 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.0002945/0.003912, allocations: 393.2 kB / 0.5236 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.003946, allocations: 8.031 kB / 0.5236 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.336e-05/0.003969, allocations: 13.17 kB / 0.5237 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.216e-05/0.004041, allocations: 126.3 kB / 0.5238 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.00405, allocations: 384 / 0.5238 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.887e-05/0.004069, allocations: 4.375 kB / 0.5238 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.499e-05/0.004154, allocations: 97.64 kB / 0.5239 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.004162, allocations: 192 / 0.5239 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.53e-06/0.004167, allocations: 2.562 kB / 0.5239 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.004172, allocations: 4.375 kB / 0.5239 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.145e-05/0.004193, allocations: 15.92 kB / 0.5239 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001083/0.004302, allocations: 105.2 kB / 0.524 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.321e-05/0.004375, allocations: 67.09 kB / 0.5241 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.9e-05/0.004394, allocations: 20.2 kB / 0.5241 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.004415, allocations: 8.547 kB / 0.5241 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.004436, allocations: 33.39 kB / 0.5241 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 7.11e-07/0.004437, allocations: 1 kB / 0.5241 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0006081/0.005045, allocations: 438 kB / 0.5245 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/0.005067, allocations: 55.34 kB / 0.5246 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.004e-05/0.005127, allocations: 162.8 kB / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.00514, allocations: 29.7 kB / 0.5248 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.18e-05/0.005172, allocations: 126.9 kB / 0.5249 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.005204, allocations: 45.17 kB / 0.5249 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.005234, allocations: 31.36 kB / 0.525 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.005335, allocations: 496.1 kB / 0.5254 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.45e-05/0.00535, allocations: 11.98 kB / 0.5255 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.869e-05/0.005369, allocations: 21.02 kB / 0.5255 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.111e-05/0.00541, allocations: 38.19 kB / 0.5255 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.005411, allocations: 3.25 kB / 0.5255 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 7.73e-05/0.005488, allocations: 85.61 kB / 0.5256 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.005498, allocations: 4 kB / 0.5256 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.005501, allocations: 0 / 0.5256 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.005511, allocations: 0 / 0.5256 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.642e-05/0.005568, allocations: 23.98 kB / 0.5256 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.005571, allocations: 3.938 kB / 0.5256 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.133e-05/0.005583, allocations: 0 / 0.5256 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.005589, allocations: 8 kB / 0.5256 GB, free: 12.64 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 6.106e-05/0.00565, allocations: 163.5 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/0.005662, allocations: 15.95 kB / 0.5258 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/0.005766, allocations: 93.67 kB / 0.5259 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.005768, allocations: 3.984 kB / 0.5259 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.005771, allocations: 3.938 kB / 0.5259 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.005774, allocations: 0 / 0.5259 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/0.006033, allocations: 318 kB / 0.5262 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.006034, allocations: 1.5 kB / 0.5262 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.606e-05/0.00611, allocations: 23.98 kB / 0.5262 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.006113, allocations: 0 / 0.5262 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.006118, allocations: 0 / 0.5262 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.006121, allocations: 4.438 kB / 0.5262 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.006122, allocations: 0 / 0.5262 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.006295, allocations: 250.5 kB / 0.5265 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.377e-06/0.006305, allocations: 11.94 kB / 0.5265 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.006315, allocations: 0 / 0.5265 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.785e-05/0.006373, allocations: 7.938 kB / 0.5265 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.692e-05/0.006389, allocations: 11.92 kB / 0.5265 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.006396, allocations: 4 kB / 0.5265 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.101e-05/0.006427, allocations: 121.6 kB / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006427, allocations: 0 / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002484/0.006676, allocations: 35.88 kB / 0.5267 GB, free: 11.54 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.0001465/0.006822, allocations: 131.1 kB / 0.5268 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.134e-05/0.006913, allocations: 65.2 kB / 0.5268 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.006915, allocations: 1.594 kB / 0.5269 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.101e-05/0.006946, allocations: 27.67 kB / 0.5269 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.007136, allocations: 12.03 kB / 0.5269 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004934/0.00763, allocations: 254.5 kB / 0.5271 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.673e-05/0.007667, allocations: 63.34 kB / 0.5272 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.311e-05/0.0077, allocations: 7.594 kB / 0.5272 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.716e-05/0.007757, allocations: 91 kB / 0.5273 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of SimCode: time 5.91e-07/0.007757, allocations: 0 / 0.5273 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of Templates: time 0.002685/0.01044, allocations: 1.058 MB / 0.5283 GB, free: 9.914 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4387325579300523]