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.0006555/0.0006555, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000968/0.001623, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0008042/0.0008042, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008959/0.0017, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9577/0.9577, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08896/1.047, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.852/0.852, allocations: 154.6 MB / 398.5 MB, free: 0.5312 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2779/1.13, allocations: 49.05 MB / 447.6 MB, free: 6.711 MB / 426.7 MB " [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.623e-06/1.623e-06, allocations: 0 / 448.9 MB, free: 5.426 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.562e-05, allocations: 3.625 kB / 448.9 MB, free: 5.422 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001965/0.001991, allocations: 1.368 MB / 450.2 MB, free: 4.082 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006392/0.00263, allocations: 0.5902 MB / 450.8 MB, free: 3.5 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.291e-05/0.002653, allocations: 0.6562 kB / 450.8 MB, free: 3.5 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 9.358e-06/0.002663, allocations: 0 / 450.8 MB, free: 3.5 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.229e-05/0.002685, allocations: 7.984 kB / 450.8 MB, free: 3.496 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003856/0.00307, allocations: 149.7 kB / 451 MB, free: 3.359 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 5.986e-05/0.00313, allocations: 27.42 kB / 451 MB, free: 3.34 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.486e-05/0.003165, allocations: 4.719 kB / 451 MB, free: 3.336 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.82e-05/0.003213, allocations: 26.06 kB / 451 MB, free: 3.316 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.437e-05/0.003268, allocations: 12.25 kB / 451.1 MB, free: 3.305 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.00328, allocations: 4 kB / 451.1 MB, free: 3.301 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003057/0.003585, allocations: 275.4 kB / 451.3 MB, free: 3.031 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.588e-06/0.003595, allocations: 1.781 kB / 451.3 MB, free: 3.031 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.656e-05/0.003611, allocations: 8 kB / 451.3 MB, free: 3.023 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.003798, allocations: 139.6 kB / 451.5 MB, free: 2.887 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.357e-05/0.003812, allocations: 0 / 451.5 MB, free: 2.887 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.003813, allocations: 0 / 451.5 MB, free: 2.887 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.522e-05/0.003828, allocations: 0.875 kB / 451.5 MB, free: 2.887 MB / 426.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.0003278/0.004156, allocations: 286.3 kB / 451.8 MB, free: 2.582 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.698e-05/0.004183, allocations: 9.312 kB / 451.8 MB, free: 2.574 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.717e-05/0.00421, allocations: 8.938 kB / 451.8 MB, free: 2.566 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.182e-05/0.004282, allocations: 109.7 kB / 451.9 MB, free: 2.434 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.004291, allocations: 1.062 kB / 451.9 MB, free: 2.434 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.004312, allocations: 7.75 kB / 451.9 MB, free: 2.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.772e-05/0.004399, allocations: 102.9 kB / 452 MB, free: 2.312 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.004408, allocations: 4.141 kB / 452 MB, free: 2.309 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.051e-06/0.004414, allocations: 4.375 kB / 452 MB, free: 2.305 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.004418, allocations: 1.094 kB / 452 MB, free: 2.305 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.752e-05/0.004446, allocations: 19.91 kB / 452 MB, free: 2.285 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.367e-05/0.00453, allocations: 69.58 kB / 452.1 MB, free: 2.203 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.8e-05/0.004598, allocations: 52.25 kB / 452.1 MB, free: 2.145 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.795e-05/0.004616, allocations: 16.86 kB / 452.2 MB, free: 2.125 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.004633, allocations: 0 / 452.2 MB, free: 2.125 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.004655, allocations: 46.5 kB / 452.2 MB, free: 2.07 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.004656, allocations: 1.438 kB / 452.2 MB, free: 2.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.000696/0.005352, allocations: 426.2 kB / 452.6 MB, free: 1.602 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.005376, allocations: 55.41 kB / 452.7 MB, free: 1.535 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.67e-05/0.005423, allocations: 103.2 kB / 452.8 MB, free: 1.422 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.005433, allocations: 36.7 kB / 452.8 MB, free: 1.383 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.99e-05/0.005453, allocations: 88.12 kB / 452.9 MB, free: 1.293 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.005483, allocations: 43.58 kB / 452.9 MB, free: 1.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.892e-05/0.005511, allocations: 25.7 kB / 453 MB, free: 1.219 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.742e-05/0.005579, allocations: 322.8 kB / 453.3 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.304e-05/0.005592, allocations: 8 kB / 453.3 MB, free: 0.8867 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.297e-05/0.005605, allocations: 10.38 kB / 453.3 MB, free: 0.8789 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.981e-05/0.005645, allocations: 36.83 kB / 453.3 MB, free: 0.8398 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.005645, allocations: 0.9062 kB / 453.3 MB, free: 0.8398 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 6.861e-05/0.005714, allocations: 69.61 kB / 453.4 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.919e-06/0.005724, allocations: 5.156 kB / 453.4 MB, free: 0.7617 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.005728, allocations: 0 / 453.4 MB, free: 0.7617 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.005737, allocations: 4 kB / 453.4 MB, free: 0.7578 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.058e-05/0.005807, allocations: 28.61 kB / 453.4 MB, free: 0.7305 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.005811, allocations: 3.938 kB / 453.4 MB, free: 0.7266 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.19e-05/0.005823, allocations: 4.625 kB / 453.4 MB, free: 0.7227 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.005828, allocations: 4 kB / 453.5 MB, free: 0.7188 MB / 426.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 4.953e-05/0.005877, allocations: 111.1 kB / 453.6 MB, free: 0.6016 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.747e-06/0.005886, allocations: 12.72 kB / 453.6 MB, free: 0.5898 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.726e-05/0.005983, allocations: 78.41 kB / 453.6 MB, free: 0.5078 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.005985, allocations: 3.938 kB / 453.7 MB, free: 0.5039 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.005986, allocations: 0.5938 kB / 453.7 MB, free: 0.5039 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.005991, allocations: 8.547 kB / 453.7 MB, free: 0.4961 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.006173, allocations: 230 kB / 453.9 MB, free: 256 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.006175, allocations: 0.8125 kB / 453.9 MB, free: 256 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.695e-05/0.006242, allocations: 23.98 kB / 453.9 MB, free: 232 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-06/0.00625, allocations: 11.05 kB / 453.9 MB, free: 224 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.006252, allocations: 0 / 453.9 MB, free: 224 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.006259, allocations: 7.922 kB / 453.9 MB, free: 216 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.00626, allocations: 0 / 453.9 MB, free: 216 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.006261, allocations: 0 / 453.9 MB, free: 216 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.006372, allocations: 182 kB / 454.1 MB, free: 20 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.006383, allocations: 8 kB / 454.1 MB, free: 12 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.707e-05/0.00642, allocations: 1 kB / 454.1 MB, free: 12 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.386e-05/0.006434, allocations: 11.92 kB / 454.1 MB, free: 0 / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.00645, allocations: 4.078 kB / 454.1 MB, free: 15.99 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.518e-06/0.00646, allocations: 14.58 kB / 454.1 MB, free: 15.98 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00646, allocations: 0 / 454.1 MB, free: 15.98 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001722/0.006632, allocations: 43.86 kB / 454.2 MB, free: 15.94 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.0001349/0.006767, allocations: 120.9 kB / 454.3 MB, free: 15.81 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8e-05/0.006847, allocations: 49.98 kB / 454.4 MB, free: 15.76 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.006853, allocations: 4 kB / 454.4 MB, free: 15.76 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.124e-05/0.006874, allocations: 24.84 kB / 454.4 MB, free: 15.73 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001008/0.006975, allocations: 12.94 kB / 454.4 MB, free: 15.72 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007568/0.007732, allocations: 189.5 kB / 454.6 MB, free: 15.51 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.012e-05/0.007762, allocations: 61.09 kB / 454.6 MB, free: 15.43 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.519e-05/0.007797, allocations: 11.98 kB / 454.7 MB, free: 15.42 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.55e-05/0.007843, allocations: 64.91 kB / 454.7 MB, free: 15.36 MB / 442.7 MB Notification: Performance of SimCode: time 6.01e-07/0.007843, allocations: 0 / 454.7 MB, free: 15.36 MB / 442.7 MB Notification: Performance of Templates: time 0.00253/0.01037, allocations: 1.212 MB / 455.9 MB, free: 14.28 MB / 442.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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5659738909453154]