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.0008613/0.0008613, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001145/0.002006, 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.000899/0.000899, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001142/0.002041, 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.9061/0.9061, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0882/0.9943, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.8237/0.8237, allocations: 155.3 MB / 399.3 MB, free: 15.93 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.2785/1.102, allocations: 49.13 MB / 448.4 MB, free: 6.02 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.482e-06/1.482e-06, allocations: 0 / 449.7 MB, free: 4.73 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.364e-05/2.513e-05, allocations: 3.438 kB / 449.7 MB, free: 4.727 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002496/0.002521, allocations: 1.369 MB / 451.1 MB, free: 3.379 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009579/0.003479, allocations: 0.5869 MB / 451.7 MB, free: 2.805 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.441e-05/0.003503, allocations: 0.9844 kB / 451.7 MB, free: 2.805 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.337e-05/0.003517, allocations: 5.984 kB / 451.7 MB, free: 2.801 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.397e-05/0.003551, allocations: 5.641 kB / 451.7 MB, free: 2.797 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004877/0.004039, allocations: 141.2 kB / 451.8 MB, free: 2.668 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.953e-05/0.004108, allocations: 32.17 kB / 451.8 MB, free: 2.645 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.058e-05/0.004149, allocations: 4 kB / 451.8 MB, free: 2.641 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.953e-05/0.004208, allocations: 19.97 kB / 451.9 MB, free: 2.621 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.597e-05/0.004274, allocations: 11.98 kB / 451.9 MB, free: 2.609 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.004289, allocations: 0 / 451.9 MB, free: 2.609 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007423/0.005031, allocations: 279.4 kB / 452.1 MB, free: 2.336 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.00505, allocations: 8.594 kB / 452.2 MB, free: 2.328 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.053e-05/0.00507, allocations: 13.72 kB / 452.2 MB, free: 2.32 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.005333, allocations: 131.6 kB / 452.3 MB, free: 2.191 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.644e-05/0.00535, allocations: 3.938 kB / 452.3 MB, free: 2.188 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.005351, allocations: 0 / 452.3 MB, free: 2.188 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.943e-05/0.00537, allocations: 0 / 452.3 MB, free: 2.188 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.0006648/0.006035, allocations: 290.9 kB / 452.6 MB, free: 1.879 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.006071, allocations: 12.03 kB / 452.6 MB, free: 1.867 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/0.006109, allocations: 6.438 kB / 452.6 MB, free: 1.863 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.938e-05/0.006208, allocations: 109.8 kB / 452.7 MB, free: 1.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.006221, allocations: 4.375 kB / 452.7 MB, free: 1.727 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/0.00625, allocations: 8.375 kB / 452.7 MB, free: 1.719 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.006369, allocations: 95.69 kB / 452.8 MB, free: 1.609 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.00638, allocations: 192 / 452.8 MB, free: 1.609 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.006391, allocations: 5.406 kB / 452.8 MB, free: 1.605 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.006397, allocations: 384 / 452.8 MB, free: 1.605 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.504e-05/0.006442, allocations: 15.92 kB / 452.8 MB, free: 1.59 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001108/0.006553, allocations: 69.84 kB / 452.9 MB, free: 1.508 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.006654, allocations: 54.62 kB / 453 MB, free: 1.445 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.829e-05/0.006682, allocations: 17.84 kB / 453 MB, free: 1.426 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.006706, allocations: 4 kB / 453 MB, free: 1.422 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.006736, allocations: 36.66 kB / 453 MB, free: 1.379 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.006738, allocations: 3.938 kB / 453 MB, free: 1.375 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.001119/0.007856, allocations: 432.7 kB / 453.4 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.00789, allocations: 52.31 kB / 453.5 MB, free: 0.8398 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.72e-05/0.007957, allocations: 106.6 kB / 453.6 MB, free: 0.7227 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.007972, allocations: 30.7 kB / 453.6 MB, free: 0.6875 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.628e-05/0.007998, allocations: 80.14 kB / 453.7 MB, free: 0.6055 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.535e-05/0.008044, allocations: 51.56 kB / 453.8 MB, free: 0.5547 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/0.008085, allocations: 26.33 kB / 453.8 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.066e-05/0.008176, allocations: 316.1 kB / 454.1 MB, free: 212 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.131e-05/0.008197, allocations: 8 kB / 454.1 MB, free: 204 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.283e-05/0.00822, allocations: 15.92 kB / 454.1 MB, free: 188 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.858e-05/0.008279, allocations: 36.78 kB / 454.1 MB, free: 148 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.00828, allocations: 0.5 kB / 454.2 MB, free: 148 kB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001061/0.008386, allocations: 72.05 kB / 454.2 MB, free: 72 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.008405, allocations: 9.406 kB / 454.2 MB, free: 64 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.00841, allocations: 0 / 454.2 MB, free: 64 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.008419, allocations: 0 / 454.2 MB, free: 64 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.99e-05/0.008519, allocations: 28.98 kB / 454.3 MB, free: 36 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.008524, allocations: 3.938 kB / 454.3 MB, free: 32 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.159e-05/0.008546, allocations: 4 kB / 454.3 MB, free: 28 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.008552, allocations: 0.7188 kB / 454.3 MB, free: 28 kB / 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 9.04e-05/0.008642, allocations: 122.7 kB / 454.4 MB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.755e-05/0.00866, allocations: 8 kB / 454.4 MB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.008808, allocations: 78.31 kB / 454.5 MB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.00881, allocations: 0 / 454.5 MB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.008814, allocations: 5.438 kB / 454.5 MB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.008819, allocations: 3.938 kB / 454.5 MB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002664/0.009085, allocations: 222.8 kB / 454.7 MB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.009089, allocations: 4 kB / 454.7 MB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.009197, allocations: 24.7 kB / 454.7 MB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.869e-06/0.009207, allocations: 7.953 kB / 454.7 MB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.009211, allocations: 1.438 kB / 454.7 MB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.009219, allocations: 3.938 kB / 454.7 MB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.009221, allocations: 4 kB / 454.7 MB, free: 15.51 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.009223, allocations: 0.8438 kB / 454.7 MB, free: 15.51 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.009402, allocations: 181 kB / 454.9 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.009415, allocations: 0.6562 kB / 454.9 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.959e-05/0.009485, allocations: 0.8906 kB / 454.9 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.009504, allocations: 12.77 kB / 454.9 MB, free: 15.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.009513, allocations: 8 kB / 454.9 MB, free: 15.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.262e-05/0.009526, allocations: 9.5 kB / 455 MB, free: 15.29 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009526, allocations: 0.9062 kB / 455 MB, free: 15.29 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002631/0.009789, allocations: 43.81 kB / 455 MB, free: 15.25 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.000235/0.01002, allocations: 129.3 kB / 455.1 MB, free: 15.11 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001162/0.01014, allocations: 47.59 kB / 455.2 MB, free: 15.07 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/0.01015, allocations: 0.625 kB / 455.2 MB, free: 15.07 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.812e-05/0.01019, allocations: 32.78 kB / 455.2 MB, free: 15.03 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.01035, allocations: 12.59 kB / 455.2 MB, free: 15.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.01161, allocations: 196.9 kB / 455.4 MB, free: 14.81 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.557e-05/0.01165, allocations: 64.03 kB / 455.5 MB, free: 14.73 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.315e-05/0.0117, allocations: 13.19 kB / 455.5 MB, free: 14.71 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.672e-05/0.01177, allocations: 63.38 kB / 455.5 MB, free: 14.65 MB / 442.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01177, allocations: 0.7188 kB / 455.5 MB, free: 14.65 MB / 442.7 MB Notification: Performance of Templates: time 0.003828/0.0156, allocations: 1.206 MB / 456.7 MB, free: 13.57 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.4152392968535423]