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.00132/0.00132, allocations: 76.3 kB / 19.18 MB, free: 2.531 MB / 14.72 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.001446/0.001446, allocations: 174.5 kB / 22.46 MB, free: 5.355 MB / 14.72 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.447/1.447, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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-531:686: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-531:694: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 1.183/1.183, allocations: 154.6 MB / 413.8 MB, free: 5.238 MB / 382.1 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 178] 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.603e-06/1.603e-06, allocations: 0 / 0.6186 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.035e-05/3.195e-05, allocations: 11.7 kB / 0.6186 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002393/0.002425, allocations: 1.293 MB / 0.6199 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.003478, allocations: 0.5408 MB / 0.6204 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.391e-05/0.003502, allocations: 0 / 0.6204 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.092e-05/0.003523, allocations: 4 kB / 0.6204 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.333e-05/0.003566, allocations: 7.875 kB / 0.6204 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000586/0.004152, allocations: 143.3 kB / 0.6205 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.841e-05/0.004231, allocations: 35.84 kB / 0.6206 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.164e-05/0.004272, allocations: 0 / 0.6206 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.212e-05/0.004314, allocations: 15.98 kB / 0.6206 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.131e-05/0.004376, allocations: 7.984 kB / 0.6206 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.004396, allocations: 4 kB / 0.6206 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004461/0.004842, allocations: 279.3 kB / 0.6209 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.392e-05/0.004866, allocations: 11.94 kB / 0.6209 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.692e-05/0.004893, allocations: 7.984 kB / 0.6209 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002965/0.00519, allocations: 163.5 kB / 0.621 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.005192, allocations: 4 kB / 0.621 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.72e-07/0.005193, allocations: 3.938 kB / 0.621 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.005199, allocations: 0 / 0.621 GB, free: 2.055 MB / 0.5294 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.0004421/0.005641, allocations: 290 kB / 0.6213 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.005677, allocations: 8.031 kB / 0.6213 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.015e-05/0.005718, allocations: 4.938 kB / 0.6213 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.005836, allocations: 113.7 kB / 0.6214 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.005852, allocations: 4.375 kB / 0.6214 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.005876, allocations: 4.375 kB / 0.6214 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.00604, allocations: 101.6 kB / 0.6215 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.006056, allocations: 12.17 kB / 0.6216 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.006069, allocations: 4.375 kB / 0.6216 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.006073, allocations: 384 / 0.6216 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.679e-05/0.00614, allocations: 31.8 kB / 0.6216 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001577/0.006298, allocations: 105.3 kB / 0.6217 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.006413, allocations: 58.55 kB / 0.6217 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.575e-05/0.006479, allocations: 21.09 kB / 0.6218 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.006504, allocations: 8 kB / 0.6218 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.006534, allocations: 30.56 kB / 0.6218 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.006535, allocations: 0 / 0.6218 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.001129/0.007664, allocations: 455.6 kB / 0.6222 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.007714, allocations: 51.41 kB / 0.6223 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.671e-05/0.00779, allocations: 97.84 kB / 0.6224 GB, free: 492 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.007813, allocations: 33.64 kB / 0.6224 GB, free: 452 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.742e-05/0.007851, allocations: 80.14 kB / 0.6225 GB, free: 368 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.401e-05/0.007895, allocations: 39.67 kB / 0.6225 GB, free: 328 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.787e-05/0.007943, allocations: 29.84 kB / 0.6226 GB, free: 292 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.008096, allocations: 322.8 kB / 0.6229 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.431e-05/0.00814, allocations: 16 kB / 0.6229 GB, free: 15.95 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.148e-05/0.008182, allocations: 27.92 kB / 0.6229 GB, free: 15.92 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.463e-05/0.008277, allocations: 52.48 kB / 0.623 GB, free: 15.87 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.00828, allocations: 4 kB / 0.623 GB, free: 15.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001589/0.008439, allocations: 101.6 kB / 0.6231 GB, free: 15.76 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.008452, allocations: 4 kB / 0.6231 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.008456, allocations: 0 / 0.6231 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.008471, allocations: 3.938 kB / 0.6231 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.008581, allocations: 31.92 kB / 0.6231 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.008586, allocations: 4 kB / 0.6231 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.549e-05/0.008611, allocations: 4 kB / 0.6231 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.00862, allocations: 4 kB / 0.6231 GB, free: 15.71 MB / 0.545 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.578e-05/0.008706, allocations: 114.8 kB / 0.6232 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.707e-05/0.008723, allocations: 7.953 kB / 0.6232 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000209/0.008932, allocations: 101.7 kB / 0.6233 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.008936, allocations: 7.875 kB / 0.6233 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.008939, allocations: 0 / 0.6233 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.008942, allocations: 4 kB / 0.6233 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003859/0.009328, allocations: 285.7 kB / 0.6236 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.009329, allocations: 4 kB / 0.6236 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.009443, allocations: 24.02 kB / 0.6236 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.009447, allocations: 7.875 kB / 0.6236 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.009457, allocations: 8 kB / 0.6236 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.009458, allocations: 0 / 0.6236 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.009459, allocations: 0 / 0.6236 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002693/0.009728, allocations: 215.4 kB / 0.6239 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-06/0.009734, allocations: 0 / 0.6239 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.009755, allocations: 11.97 kB / 0.6239 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.621e-05/0.009841, allocations: 0 / 0.6239 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.009869, allocations: 11.97 kB / 0.6239 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.009881, allocations: 12.06 kB / 0.6239 GB, free: 14.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.024e-05/0.009921, allocations: 79.22 kB / 0.624 GB, free: 14.76 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.009921, allocations: 0 / 0.624 GB, free: 14.76 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002863/0.01021, allocations: 39.86 kB / 0.624 GB, free: 14.72 MB / 0.545 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.0002183/0.01043, allocations: 127.1 kB / 0.6241 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001534/0.01058, allocations: 63.91 kB / 0.6242 GB, free: 14.53 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01058, allocations: 0 / 0.6242 GB, free: 14.53 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.126e-05/0.01063, allocations: 35.92 kB / 0.6242 GB, free: 14.49 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.01084, allocations: 4.094 kB / 0.6242 GB, free: 14.49 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004802/0.01132, allocations: 248.5 kB / 0.6245 GB, free: 14.22 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.538e-05/0.01139, allocations: 67.34 kB / 0.6245 GB, free: 14.13 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.938e-05/0.01143, allocations: 7.984 kB / 0.6245 GB, free: 14.12 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.04e-05/0.01146, allocations: 16.48 kB / 0.6245 GB, free: 14.11 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.01146, allocations: 0 / 0.6245 GB, free: 14.11 MB / 0.545 GB Notification: Performance of Templates: time 0.003799/0.01526, allocations: 0.9217 MB / 0.6254 GB, free: 13.24 MB / 0.545 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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.627252951264381] Failed to read output from testmodel.py, exit status != 0: 0.023901838809251785 0.037970469 0.029760960000000003 Calling exit ...