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.00135/0.00135, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001387/0.001387, allocations: 173 kB / 23.49 MB, free: 1.059 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.9114/0.9114, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.774/0.774, allocations: 154.6 MB / 414.9 MB, free: 0.6758 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.312e-06/1.312e-06, allocations: 0 / 0.5203 GB, free: 2.527 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.8e-05/1.932e-05, allocations: 4.516 kB / 0.5203 GB, free: 2.523 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001468/0.001487, allocations: 1.319 MB / 0.5216 GB, free: 1.211 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00074/0.002227, allocations: 0.5808 MB / 0.5222 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.593e-05/0.002253, allocations: 0 / 0.5222 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.936e-05/0.002273, allocations: 3.938 kB / 0.5222 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.451e-05/0.002307, allocations: 3.984 kB / 0.5222 GB, free: 0.625 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004113/0.002718, allocations: 148.3 kB / 0.5223 GB, free: 492 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.978e-05/0.002778, allocations: 31.84 kB / 0.5224 GB, free: 460 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.774e-05/0.002816, allocations: 5.453 kB / 0.5224 GB, free: 456 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.76e-05/0.002853, allocations: 15.98 kB / 0.5224 GB, free: 440 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.311e-05/0.002907, allocations: 11.98 kB / 0.5224 GB, free: 428 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.00292, allocations: 0 / 0.5224 GB, free: 428 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002584/0.003178, allocations: 272.2 kB / 0.5227 GB, free: 156 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.003191, allocations: 0 / 0.5227 GB, free: 156 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.023e-05/0.003211, allocations: 20.88 kB / 0.5227 GB, free: 136 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.003406, allocations: 159.5 kB / 0.5228 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.003409, allocations: 0 / 0.5228 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.81e-07/0.003409, allocations: 1 kB / 0.5228 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.003415, allocations: 0 / 0.5228 GB, free: 15.97 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.0003229/0.003738, allocations: 396.4 kB / 0.5232 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.003772, allocations: 8.531 kB / 0.5232 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.905e-05/0.003811, allocations: 9.234 kB / 0.5232 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.049e-05/0.003891, allocations: 117.6 kB / 0.5233 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.003905, allocations: 4.359 kB / 0.5234 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.003927, allocations: 5.281 kB / 0.5234 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.004038, allocations: 101.7 kB / 0.5235 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.004048, allocations: 192 / 0.5235 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.004059, allocations: 9 kB / 0.5235 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.004067, allocations: 1.031 kB / 0.5235 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.442e-05/0.004101, allocations: 23.86 kB / 0.5235 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001261/0.004227, allocations: 117.9 kB / 0.5236 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.469e-05/0.004312, allocations: 59.03 kB / 0.5237 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.297e-05/0.004345, allocations: 29.48 kB / 0.5237 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.004367, allocations: 0 / 0.5237 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.00439, allocations: 41.39 kB / 0.5237 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 6.21e-07/0.004391, allocations: 0 / 0.5237 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0007481/0.005139, allocations: 461.7 kB / 0.5242 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.005168, allocations: 51.41 kB / 0.5242 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.289e-05/0.005231, allocations: 154.7 kB / 0.5244 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.005242, allocations: 29.7 kB / 0.5244 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.143e-05/0.005274, allocations: 128.3 kB / 0.5245 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.005306, allocations: 39.64 kB / 0.5245 GB, free: 14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.005342, allocations: 35.38 kB / 0.5246 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.005445, allocations: 0.4884 MB / 0.5251 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.517e-05/0.005471, allocations: 17.02 kB / 0.5251 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.394e-05/0.005495, allocations: 16 kB / 0.5251 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.855e-05/0.005553, allocations: 55.33 kB / 0.5251 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.005554, allocations: 0 / 0.5251 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 8.953e-05/0.005643, allocations: 85.62 kB / 0.5252 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.005654, allocations: 7.25 kB / 0.5252 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.005658, allocations: 0 / 0.5252 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.005671, allocations: 7.938 kB / 0.5252 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.339e-05/0.005745, allocations: 27.98 kB / 0.5253 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.00575, allocations: 0 / 0.5253 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.234e-05/0.005762, allocations: 0 / 0.5253 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.005768, allocations: 4.312 kB / 0.5253 GB, free: 13.23 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.93e-05/0.005828, allocations: 164.5 kB / 0.5254 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/0.00584, allocations: 18.97 kB / 0.5254 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.00596, allocations: 97.72 kB / 0.5255 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.005963, allocations: 3.938 kB / 0.5255 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.005967, allocations: 0 / 0.5255 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.00597, allocations: 4 kB / 0.5255 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002635/0.006234, allocations: 341.3 kB / 0.5259 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.006234, allocations: 0 / 0.5259 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.096e-05/0.006305, allocations: 20 kB / 0.5259 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.006308, allocations: 5.438 kB / 0.5259 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.006317, allocations: 3.984 kB / 0.5259 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.006318, allocations: 0 / 0.5259 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.006319, allocations: 0 / 0.5259 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.006483, allocations: 257.2 kB / 0.5261 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.313e-06/0.00649, allocations: 11.95 kB / 0.5262 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.006503, allocations: 3.938 kB / 0.5262 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.153e-05/0.006544, allocations: 7.984 kB / 0.5262 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.684e-05/0.006561, allocations: 1.281 kB / 0.5262 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/0.006568, allocations: 11.98 kB / 0.5262 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.856e-05/0.006596, allocations: 123.8 kB / 0.5263 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006596, allocations: 0 / 0.5263 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000163/0.006759, allocations: 36.5 kB / 0.5263 GB, free: 12.08 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.0001429/0.006902, allocations: 130.2 kB / 0.5265 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.007002, allocations: 66.48 kB / 0.5265 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.007004, allocations: 3.938 kB / 0.5265 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.986e-05/0.007034, allocations: 37.36 kB / 0.5266 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.007183, allocations: 11.98 kB / 0.5266 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005179/0.007701, allocations: 252.5 kB / 0.5268 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.181e-05/0.007743, allocations: 63.34 kB / 0.5269 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.011e-05/0.007773, allocations: 7.594 kB / 0.5269 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.135e-05/0.007794, allocations: 17.44 kB / 0.5269 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/0.007795, allocations: 0 / 0.5269 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of Templates: time 0.00241/0.01021, allocations: 0.9451 MB / 0.5278 GB, free: 10.63 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.673517171991989]