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.0009089/0.0009089, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009867/0.0009867, allocations: 177 kB / 23.36 MB, free: 1.129 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.9644/0.9644, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.8107/0.8107, allocations: 154.6 MB / 414.8 MB, free: 500 kB / 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.452e-06/1.452e-06, allocations: 0.7656 kB / 480 MB, free: 6.809 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.533e-05, allocations: 6.312 kB / 480.1 MB, free: 6.801 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002792/0.002818, allocations: 1.375 MB / 481.4 MB, free: 5.449 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.003963, allocations: 0.5764 MB / 482 MB, free: 4.883 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.566e-05/0.003989, allocations: 5.438 kB / 482 MB, free: 4.879 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.008e-05/0.004009, allocations: 3.938 kB / 482 MB, free: 4.875 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.554e-05/0.004054, allocations: 2.078 kB / 482 MB, free: 4.875 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005599/0.004614, allocations: 155 kB / 482.2 MB, free: 4.738 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.63e-05/0.00468, allocations: 26.11 kB / 482.2 MB, free: 4.715 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.161e-05/0.004722, allocations: 12.78 kB / 482.2 MB, free: 4.703 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.917e-05/0.004771, allocations: 15.97 kB / 482.2 MB, free: 4.688 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.03e-05/0.004831, allocations: 11.98 kB / 482.2 MB, free: 4.676 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.004848, allocations: 4.625 kB / 482.2 MB, free: 4.672 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004677/0.005316, allocations: 274.4 kB / 482.5 MB, free: 4.406 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.09e-05/0.005337, allocations: 11.97 kB / 482.5 MB, free: 4.395 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.916e-05/0.005356, allocations: 8 kB / 482.5 MB, free: 4.387 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002872/0.005643, allocations: 163.5 kB / 482.7 MB, free: 4.227 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.005646, allocations: 0 / 482.7 MB, free: 4.227 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.005647, allocations: 0 / 482.7 MB, free: 4.227 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.005651, allocations: 0 / 482.7 MB, free: 4.227 MB / 442.7 MB 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.0003243/0.005975, allocations: 271.9 kB / 482.9 MB, free: 3.938 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.006011, allocations: 12.72 kB / 483 MB, free: 3.926 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.006044, allocations: 4.938 kB / 483 MB, free: 3.922 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.958e-05/0.006133, allocations: 110.7 kB / 483.1 MB, free: 3.789 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.006147, allocations: 8.375 kB / 483.1 MB, free: 3.781 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.006171, allocations: 9.859 kB / 483.1 MB, free: 3.773 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.006287, allocations: 101.6 kB / 483.2 MB, free: 3.656 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.006296, allocations: 192 / 483.2 MB, free: 3.656 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.575e-06/0.006304, allocations: 1 kB / 483.2 MB, free: 3.656 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.00631, allocations: 384 / 483.2 MB, free: 3.656 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.32e-05/0.006343, allocations: 16.52 kB / 483.2 MB, free: 3.641 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001086/0.006451, allocations: 65.05 kB / 483.3 MB, free: 3.562 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.476e-05/0.006546, allocations: 47.28 kB / 483.3 MB, free: 3.508 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.743e-05/0.006574, allocations: 17.39 kB / 483.3 MB, free: 3.488 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.00659, allocations: 8.5 kB / 483.3 MB, free: 3.48 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.006614, allocations: 35.17 kB / 483.4 MB, free: 3.438 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.006615, allocations: 0 / 483.4 MB, free: 3.438 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.001044/0.00766, allocations: 447 kB / 483.8 MB, free: 2.953 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.007688, allocations: 51.41 kB / 483.9 MB, free: 2.891 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.199e-05/0.00775, allocations: 111.6 kB / 484 MB, free: 2.77 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.007764, allocations: 25.7 kB / 484 MB, free: 2.738 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.399e-05/0.007788, allocations: 84.08 kB / 484.1 MB, free: 2.652 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.664e-05/0.007835, allocations: 48.25 kB / 484.1 MB, free: 2.605 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.256e-05/0.007877, allocations: 23.03 kB / 484.1 MB, free: 2.578 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.478e-05/0.007962, allocations: 322.8 kB / 484.5 MB, free: 2.254 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.379e-05/0.007986, allocations: 8 kB / 484.5 MB, free: 2.246 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.341e-05/0.008009, allocations: 8 kB / 484.5 MB, free: 2.238 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.027e-05/0.00807, allocations: 37.33 kB / 484.5 MB, free: 2.199 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.008071, allocations: 1.375 kB / 484.5 MB, free: 2.199 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001033/0.008174, allocations: 65.05 kB / 484.6 MB, free: 2.133 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.00819, allocations: 8 kB / 484.6 MB, free: 2.125 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.008194, allocations: 0 / 484.6 MB, free: 2.125 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.008206, allocations: 5 kB / 484.6 MB, free: 2.121 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.547e-05/0.008301, allocations: 27.92 kB / 484.6 MB, free: 2.094 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.008306, allocations: 5.062 kB / 484.6 MB, free: 2.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.189e-05/0.008328, allocations: 4 kB / 484.6 MB, free: 2.086 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.008335, allocations: 0 / 484.6 MB, free: 2.086 MB / 442.7 MB 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 7.819e-05/0.008413, allocations: 122.5 kB / 484.8 MB, free: 1.957 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.72e-05/0.00843, allocations: 7.984 kB / 484.8 MB, free: 1.949 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.008576, allocations: 84.92 kB / 484.8 MB, free: 1.863 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.008579, allocations: 0 / 484.8 MB, free: 1.863 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.008581, allocations: 2 kB / 484.8 MB, free: 1.863 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.008587, allocations: 7.922 kB / 484.9 MB, free: 1.855 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.008859, allocations: 218.8 kB / 485.1 MB, free: 1.617 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.00886, allocations: 0 / 485.1 MB, free: 1.617 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.008968, allocations: 31.92 kB / 485.1 MB, free: 1.586 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.008971, allocations: 0.7188 kB / 485.1 MB, free: 1.586 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.008978, allocations: 0 / 485.1 MB, free: 1.586 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.00898, allocations: 0.7188 kB / 485.1 MB, free: 1.586 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.008982, allocations: 3.938 kB / 485.1 MB, free: 1.582 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/0.009163, allocations: 177 kB / 485.3 MB, free: 1.395 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.186e-05/0.009174, allocations: 11.94 kB / 485.3 MB, free: 1.383 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.009187, allocations: 0 / 485.3 MB, free: 1.383 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.6e-05/0.009263, allocations: 4 kB / 485.3 MB, free: 1.379 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.025e-05/0.009283, allocations: 12.67 kB / 485.3 MB, free: 1.367 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.009293, allocations: 7.938 kB / 485.3 MB, free: 1.359 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.465e-05/0.009307, allocations: 5.953 kB / 485.3 MB, free: 1.352 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009307, allocations: 0 / 485.3 MB, free: 1.352 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002513/0.009559, allocations: 37.03 kB / 485.4 MB, free: 1.316 MB / 442.7 MB 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.0002023/0.009761, allocations: 116.3 kB / 485.5 MB, free: 1.195 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001053/0.009866, allocations: 53.64 kB / 485.5 MB, free: 1.141 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.009869, allocations: 0 / 485.5 MB, free: 1.141 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.752e-05/0.009907, allocations: 34.08 kB / 485.6 MB, free: 1.109 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.01008, allocations: 4 kB / 485.6 MB, free: 1.105 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005977/0.01068, allocations: 217.5 kB / 485.8 MB, free: 0.8906 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.554e-05/0.01072, allocations: 64.09 kB / 485.8 MB, free: 0.8086 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.833e-05/0.01077, allocations: 10.14 kB / 485.8 MB, free: 0.8008 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.505e-05/0.01083, allocations: 63.36 kB / 485.9 MB, free: 0.7383 MB / 442.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01084, allocations: 5.25 kB / 485.9 MB, free: 0.7344 MB / 442.7 MB Notification: Performance of Templates: time 0.002885/0.01372, allocations: 1.044 MB / 487 MB, free: 15.8 MB / 458.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5186989498324692]