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.001042/0.001042, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009852/0.0009852, allocations: 169 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 0.9464/0.9464, 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 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.7927/0.7927, allocations: 154.6 MB / 414.5 MB, free: 0.6602 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.223e-06/1.223e-06, allocations: 0 / 0.5203 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.674e-05/1.796e-05, allocations: 4.406 kB / 0.5203 GB, free: 2.184 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.00172/0.001738, allocations: 1.315 MB / 0.5216 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008736/0.002612, allocations: 0.5875 MB / 0.5222 GB, free: 304 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.224e-05/0.002644, allocations: 0 / 0.5222 GB, free: 304 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.322e-05/0.002667, allocations: 3.938 kB / 0.5222 GB, free: 300 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.791e-05/0.002705, allocations: 3.938 kB / 0.5222 GB, free: 296 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004611/0.003166, allocations: 153 kB / 0.5223 GB, free: 144 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.846e-05/0.003225, allocations: 31.84 kB / 0.5224 GB, free: 112 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.807e-05/0.003263, allocations: 4 kB / 0.5224 GB, free: 108 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.497e-05/0.003298, allocations: 17.64 kB / 0.5224 GB, free: 92 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.034e-05/0.003348, allocations: 7.984 kB / 0.5224 GB, free: 84 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.003363, allocations: 4 kB / 0.5224 GB, free: 80 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002943/0.003657, allocations: 267.4 kB / 0.5227 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.003672, allocations: 8.734 kB / 0.5227 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.026e-05/0.003693, allocations: 11.94 kB / 0.5227 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.003894, allocations: 168.8 kB / 0.5228 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.003896, allocations: 0 / 0.5228 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.72e-07/0.003897, allocations: 0 / 0.5228 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.003901, allocations: 0 / 0.5228 GB, free: 15.63 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.0003844/0.004285, allocations: 397.2 kB / 0.5232 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.004319, allocations: 8.031 kB / 0.5232 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.004356, allocations: 9.234 kB / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.531e-05/0.004431, allocations: 113.9 kB / 0.5233 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.004442, allocations: 384 / 0.5233 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.004467, allocations: 4.375 kB / 0.5233 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.004571, allocations: 97.66 kB / 0.5234 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.00458, allocations: 6.875 kB / 0.5234 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.004591, allocations: 4.375 kB / 0.5235 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.004599, allocations: 384 / 0.5235 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.317e-05/0.004633, allocations: 23.84 kB / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001356/0.004768, allocations: 124.6 kB / 0.5236 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.351e-05/0.004862, allocations: 55.05 kB / 0.5236 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.405e-05/0.004896, allocations: 32.19 kB / 0.5237 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.004918, allocations: 0.5 kB / 0.5237 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.004947, allocations: 37.39 kB / 0.5237 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 7.81e-07/0.004947, allocations: 4.969 kB / 0.5237 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0007534/0.005701, allocations: 458.3 kB / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.005726, allocations: 55.41 kB / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.132e-05/0.005787, allocations: 154.9 kB / 0.5244 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.0058, allocations: 33.7 kB / 0.5244 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.283e-05/0.005832, allocations: 128.3 kB / 0.5245 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.005863, allocations: 35.66 kB / 0.5245 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.005896, allocations: 35.36 kB / 0.5246 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003492/0.006245, allocations: 0.4884 MB / 0.5251 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.478e-05/0.00627, allocations: 15.23 kB / 0.5251 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.473e-05/0.006295, allocations: 23.98 kB / 0.5251 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.723e-05/0.006352, allocations: 50.56 kB / 0.5251 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.006353, allocations: 0 / 0.5251 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 9.059e-05/0.006444, allocations: 89.67 kB / 0.5252 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.006455, allocations: 4 kB / 0.5252 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.006459, allocations: 0 / 0.5252 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.006474, allocations: 3.938 kB / 0.5252 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.361e-05/0.006547, allocations: 30.83 kB / 0.5253 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.006552, allocations: 0 / 0.5253 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.222e-05/0.006564, allocations: 0 / 0.5253 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.006571, allocations: 4 kB / 0.5253 GB, free: 12.89 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.682e-05/0.006627, allocations: 160.5 kB / 0.5254 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.284e-05/0.00664, allocations: 15.95 kB / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.006757, allocations: 93.73 kB / 0.5255 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.00676, allocations: 9.391 kB / 0.5255 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.006763, allocations: 3.938 kB / 0.5255 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.006766, allocations: 0 / 0.5255 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.007029, allocations: 337.4 kB / 0.5259 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.007031, allocations: 4.5 kB / 0.5259 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.336e-05/0.007094, allocations: 22.14 kB / 0.5259 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.007098, allocations: 3.938 kB / 0.5259 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.007108, allocations: 4 kB / 0.5259 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.007109, allocations: 0 / 0.5259 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.007109, allocations: 0 / 0.5259 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.007277, allocations: 259.7 kB / 0.5261 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.115e-06/0.007285, allocations: 14.39 kB / 0.5262 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.007297, allocations: 3.938 kB / 0.5262 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.101e-05/0.007338, allocations: 0 / 0.5262 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.828e-05/0.007356, allocations: 7.984 kB / 0.5262 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.007362, allocations: 8 kB / 0.5262 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.965e-05/0.007392, allocations: 119.2 kB / 0.5263 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.007392, allocations: 2.094 kB / 0.5263 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001817/0.007574, allocations: 35.88 kB / 0.5263 GB, free: 11.74 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.0001486/0.007722, allocations: 127.1 kB / 0.5264 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001199/0.007842, allocations: 72.62 kB / 0.5265 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.007844, allocations: 1.031 kB / 0.5265 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.207e-05/0.007876, allocations: 35.61 kB / 0.5265 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.00803, allocations: 9.875 kB / 0.5266 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005184/0.008549, allocations: 254.2 kB / 0.5268 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.307e-05/0.008582, allocations: 59.34 kB / 0.5269 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.985e-05/0.008612, allocations: 12.97 kB / 0.5269 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.22e-05/0.008634, allocations: 16.48 kB / 0.5269 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of SimCode: time 8.21e-07/0.008635, allocations: 1.406 kB / 0.5269 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of Templates: time 0.002437/0.01107, allocations: 0.9401 MB / 0.5278 GB, free: 10.29 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.8822857732884586]