Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.00099/0.00099, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001416/0.002406, allocations: 440 kB / 10.41 MB, free: 284 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.0009578/0.0009578, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001226/0.002184, allocations: 475.6 kB / 11.8 MB, free: 2.375 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.9688/0.9688, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1015/1.07, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34: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-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.743/0.743, allocations: 155.3 MB / 399.5 MB, free: 15.82 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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-master/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.2334/0.9765, allocations: 49.14 MB / 448.6 MB, free: 5.926 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-master/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_dev_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_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0.6562 kB / 450 MB, free: 4.613 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.823e-05/1.958e-05, allocations: 2.312 kB / 450 MB, free: 4.609 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001651/0.001671, allocations: 1.367 MB / 451.3 MB, free: 3.258 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006015/0.002272, allocations: 0.5923 MB / 451.9 MB, free: 2.68 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.613e-05/0.002288, allocations: 0.7656 kB / 451.9 MB, free: 2.68 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 8.516e-06/0.002297, allocations: 3.938 kB / 451.9 MB, free: 2.676 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.203e-05/0.002319, allocations: 5.406 kB / 451.9 MB, free: 2.672 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002859/0.002605, allocations: 143.6 kB / 452.1 MB, free: 2.543 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 5.969e-05/0.002665, allocations: 34.2 kB / 452.1 MB, free: 2.52 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.639e-05/0.002701, allocations: 1.641 kB / 452.1 MB, free: 2.52 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.589e-05/0.002757, allocations: 25.06 kB / 452.1 MB, free: 2.496 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.074e-05/0.002818, allocations: 10.91 kB / 452.1 MB, free: 2.488 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.002837, allocations: 0 / 452.1 MB, free: 2.488 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002886/0.003126, allocations: 280 kB / 452.4 MB, free: 2.219 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.593e-05/0.003142, allocations: 4 kB / 452.4 MB, free: 2.215 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.684e-05/0.003159, allocations: 12.47 kB / 452.4 MB, free: 2.203 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.003335, allocations: 129.2 kB / 452.6 MB, free: 2.078 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.082e-05/0.003346, allocations: 4 kB / 452.6 MB, free: 2.074 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.003347, allocations: 0 / 452.6 MB, free: 2.074 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.003354, allocations: 0 / 452.6 MB, free: 2.074 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.0003032/0.003658, allocations: 294.8 kB / 452.8 MB, free: 1.762 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.721e-05/0.003685, allocations: 8.031 kB / 452.9 MB, free: 1.754 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.03e-05/0.003715, allocations: 9.438 kB / 452.9 MB, free: 1.746 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.959e-05/0.003785, allocations: 111.5 kB / 453 MB, free: 1.613 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-06/0.003793, allocations: 384 / 453 MB, free: 1.613 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.003816, allocations: 5.734 kB / 453 MB, free: 1.609 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.418e-05/0.0039, allocations: 97.64 kB / 453.1 MB, free: 1.496 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.003907, allocations: 1.438 kB / 453.1 MB, free: 1.496 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.421e-06/0.003913, allocations: 384 / 453.1 MB, free: 1.496 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.003917, allocations: 4.375 kB / 453.1 MB, free: 1.492 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.45e-05/0.003941, allocations: 19.86 kB / 453.1 MB, free: 1.473 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.049e-05/0.004022, allocations: 73.91 kB / 453.2 MB, free: 1.387 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.721e-05/0.004089, allocations: 52.06 kB / 453.2 MB, free: 1.328 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.795e-05/0.004107, allocations: 16.86 kB / 453.2 MB, free: 1.309 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.004121, allocations: 1.078 kB / 453.2 MB, free: 1.309 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.00414, allocations: 38.55 kB / 453.3 MB, free: 1.262 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 6.21e-07/0.004141, allocations: 0.8438 kB / 453.3 MB, free: 1.262 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006984/0.004839, allocations: 443.2 kB / 453.7 MB, free: 0.7773 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.154e-05/0.004861, allocations: 54.22 kB / 453.8 MB, free: 0.7148 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.842e-05/0.004909, allocations: 106.6 kB / 453.9 MB, free: 0.5977 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.00492, allocations: 29.7 kB / 453.9 MB, free: 0.5625 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.993e-05/0.00494, allocations: 80.14 kB / 454 MB, free: 492 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.004973, allocations: 47.56 kB / 454 MB, free: 444 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.561e-05/0.004999, allocations: 21.72 kB / 454 MB, free: 416 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.794e-05/0.005067, allocations: 323.7 kB / 454.4 MB, free: 84 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.345e-05/0.00508, allocations: 8 kB / 454.4 MB, free: 76 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.433e-05/0.005095, allocations: 11.98 kB / 454.4 MB, free: 64 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.016e-05/0.005135, allocations: 41.16 kB / 454.4 MB, free: 24 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.005136, allocations: 0 / 454.4 MB, free: 24 kB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.428e-05/0.00521, allocations: 70.73 kB / 454.5 MB, free: 15.95 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.005222, allocations: 8 kB / 454.5 MB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.005225, allocations: 0 / 454.5 MB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.739e-06/0.005235, allocations: 0.625 kB / 454.5 MB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.763e-05/0.005303, allocations: 27.92 kB / 454.5 MB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.005308, allocations: 4.562 kB / 454.5 MB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.184e-05/0.005319, allocations: 0.625 kB / 454.5 MB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.005325, allocations: 8 kB / 454.5 MB, free: 15.9 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 5.094e-05/0.005376, allocations: 122.4 kB / 454.7 MB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.496e-06/0.005385, allocations: 9.75 kB / 454.7 MB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.808e-05/0.005483, allocations: 74.55 kB / 454.7 MB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.005484, allocations: 0.5938 kB / 454.7 MB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.005486, allocations: 0.75 kB / 454.7 MB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.005491, allocations: 7.938 kB / 454.7 MB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.005686, allocations: 220 kB / 455 MB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.005688, allocations: 9.5 kB / 455 MB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.272e-05/0.005751, allocations: 16 kB / 455 MB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.186e-06/0.005759, allocations: 11.94 kB / 455 MB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.005762, allocations: 4 kB / 455 MB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.005771, allocations: 7.938 kB / 455 MB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.005773, allocations: 4.906 kB / 455 MB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.005774, allocations: 0 / 455 MB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.005896, allocations: 185.1 kB / 455.2 MB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.899e-06/0.005906, allocations: 0.625 kB / 455.2 MB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.723e-05/0.005944, allocations: 4 kB / 455.2 MB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.438e-05/0.005958, allocations: 13.11 kB / 455.2 MB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.005963, allocations: 0 / 455.2 MB, free: 15.18 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.042e-05/0.005973, allocations: 8.859 kB / 455.2 MB, free: 15.16 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005973, allocations: 1.125 kB / 455.2 MB, free: 15.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001593/0.006132, allocations: 43.86 kB / 455.3 MB, free: 15.12 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.0001526/0.006285, allocations: 129.4 kB / 455.4 MB, free: 14.99 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.073e-05/0.006356, allocations: 48.72 kB / 455.4 MB, free: 14.94 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.006361, allocations: 5.031 kB / 455.4 MB, free: 14.93 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.807e-05/0.00639, allocations: 32.78 kB / 455.5 MB, free: 14.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001066/0.006496, allocations: 16.73 kB / 455.5 MB, free: 14.88 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007487/0.007245, allocations: 181.5 kB / 455.7 MB, free: 14.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.044e-05/0.007275, allocations: 67.2 kB / 455.7 MB, free: 14.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.394e-05/0.007309, allocations: 14.16 kB / 455.8 MB, free: 14.59 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.766e-05/0.007357, allocations: 63.38 kB / 455.8 MB, free: 14.52 MB / 442.7 MB Notification: Performance of SimCode: time 3.91e-07/0.007357, allocations: 0 / 455.8 MB, free: 14.52 MB / 442.7 MB Notification: Performance of Templates: time 0.002451/0.009808, allocations: 1.217 MB / 457 MB, free: 13.44 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.336420559324324]