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.0007894/0.0007894, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008023/0.0008023, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8733/0.8733, allocations: 177.1 MB / 203.5 MB, free: 5.738 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-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 0.7023/0.7023, allocations: 154.6 MB / 414.5 MB, free: 0.8008 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.964e-06/1.964e-06, allocations: 0 / 0.6193 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.397e-05/3.594e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002189/0.002225, allocations: 1.301 MB / 0.6206 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009818/0.003207, allocations: 0.5371 MB / 0.6211 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.671e-05/0.003243, allocations: 7.938 kB / 0.6211 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.38e-05/0.003267, allocations: 0 / 0.6211 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.627e-05/0.003313, allocations: 0 / 0.6211 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005605/0.003874, allocations: 151.2 kB / 0.6213 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.3e-05/0.003957, allocations: 35.84 kB / 0.6213 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.837e-05/0.004005, allocations: 3.984 kB / 0.6213 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.072e-05/0.004046, allocations: 19.98 kB / 0.6213 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.061e-05/0.004106, allocations: 7.984 kB / 0.6213 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.004124, allocations: 4 kB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002968/0.00442, allocations: 275.3 kB / 0.6216 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.004437, allocations: 4 kB / 0.6216 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.345e-05/0.004461, allocations: 15.92 kB / 0.6216 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.004678, allocations: 159.5 kB / 0.6218 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.00468, allocations: 0 / 0.6218 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.112e-06/0.004681, allocations: 0 / 0.6218 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.004687, allocations: 0 / 0.6218 GB, free: 10.65 MB / 0.5886 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.0004062/0.005093, allocations: 298 kB / 0.6221 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.005133, allocations: 8.031 kB / 0.6221 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.005171, allocations: 8.891 kB / 0.6221 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.588e-05/0.005257, allocations: 109.7 kB / 0.6222 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.005271, allocations: 8.375 kB / 0.6222 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.005296, allocations: 4.375 kB / 0.6222 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.005436, allocations: 97.66 kB / 0.6223 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.005448, allocations: 192 / 0.6223 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.005459, allocations: 4.375 kB / 0.6223 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.005464, allocations: 384 / 0.6223 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.698e-05/0.005511, allocations: 23.92 kB / 0.6223 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001334/0.005645, allocations: 113.3 kB / 0.6224 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.005746, allocations: 54.5 kB / 0.6225 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.667e-05/0.005783, allocations: 28.84 kB / 0.6225 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.005805, allocations: 4 kB / 0.6225 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.005827, allocations: 34.56 kB / 0.6225 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 8.91e-07/0.005828, allocations: 0 / 0.6225 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0008321/0.00666, allocations: 455.8 kB / 0.623 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.006688, allocations: 51.41 kB / 0.623 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.283e-05/0.006741, allocations: 97.86 kB / 0.6231 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.006753, allocations: 25.7 kB / 0.6231 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.433e-05/0.006777, allocations: 84.14 kB / 0.6232 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.006812, allocations: 39.67 kB / 0.6233 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.006845, allocations: 29.72 kB / 0.6233 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.847e-05/0.006923, allocations: 314.8 kB / 0.6236 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.32e-05/0.006956, allocations: 27.98 kB / 0.6236 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.761e-05/0.006984, allocations: 18.75 kB / 0.6236 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.957e-05/0.007054, allocations: 68.84 kB / 0.6237 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.007055, allocations: 4.094 kB / 0.6237 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001031/0.007158, allocations: 97.58 kB / 0.6238 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.00717, allocations: 4 kB / 0.6238 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.007174, allocations: 0 / 0.6238 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.007189, allocations: 7.938 kB / 0.6238 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.239e-05/0.007271, allocations: 23.92 kB / 0.6238 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.007276, allocations: 0 / 0.6238 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.235e-05/0.007289, allocations: 0 / 0.6238 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.007295, allocations: 4 kB / 0.6238 GB, free: 8.309 MB / 0.5886 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.299e-05/0.007358, allocations: 118.8 kB / 0.624 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.175e-06/0.007366, allocations: 7.953 kB / 0.624 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001409/0.007507, allocations: 101.8 kB / 0.6241 GB, free: 8.07 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.00751, allocations: 3.938 kB / 0.6241 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.007515, allocations: 4 kB / 0.6241 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.007519, allocations: 3.984 kB / 0.6241 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.007812, allocations: 294.1 kB / 0.6243 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.007813, allocations: 0 / 0.6243 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.573e-05/0.007879, allocations: 16 kB / 0.6244 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.007884, allocations: 7.938 kB / 0.6244 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.00789, allocations: 0 / 0.6244 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.007892, allocations: 7.938 kB / 0.6244 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.007894, allocations: 3.984 kB / 0.6244 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.00807, allocations: 221.5 kB / 0.6246 GB, free: 7.473 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.713e-06/0.008077, allocations: 4 kB / 0.6246 GB, free: 7.469 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.008091, allocations: 7.969 kB / 0.6246 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.93e-05/0.00814, allocations: 8 kB / 0.6246 GB, free: 7.453 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.916e-05/0.008159, allocations: 7.984 kB / 0.6246 GB, free: 7.445 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.008166, allocations: 4 kB / 0.6246 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.58e-05/0.008191, allocations: 79.27 kB / 0.6247 GB, free: 7.363 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.008191, allocations: 0 / 0.6247 GB, free: 7.363 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00018/0.008371, allocations: 40.03 kB / 0.6247 GB, free: 7.324 MB / 0.5886 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.0001562/0.008528, allocations: 139 kB / 0.6249 GB, free: 7.176 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001251/0.008653, allocations: 59.97 kB / 0.6249 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.008655, allocations: 3.938 kB / 0.6249 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.084e-05/0.008686, allocations: 31.92 kB / 0.625 GB, free: 7.082 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.008846, allocations: 4 kB / 0.625 GB, free: 7.078 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004083/0.009254, allocations: 262.3 kB / 0.6252 GB, free: 6.789 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.304e-05/0.009307, allocations: 71.34 kB / 0.6253 GB, free: 6.699 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.464e-05/0.009332, allocations: 12.5 kB / 0.6253 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of SimCode: time 4.81e-07/0.009332, allocations: 0 / 0.6253 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of Templates: time 0.00206/0.01139, allocations: 1.158 MB / 0.6264 GB, free: 5.531 MB / 0.5886 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 os._exit(0), Time elapsed: 4.977155151776969] Failed to read output from testmodel.py, exit status != 0: 0.016354921273887157 0.024492866000000002 0.018113783 Calling exit ...