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.001364/0.001364, 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.001106/0.001106, 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 1.011/1.011, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.7844/0.7844, allocations: 154.9 MB / 415.1 MB, free: 232 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/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 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.843e-06/1.843e-06, allocations: 0 / 480.4 MB, free: 6.562 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.265e-05/2.45e-05, allocations: 9.094 kB / 480.4 MB, free: 6.559 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002916/0.00294, allocations: 1.365 MB / 481.8 MB, free: 5.219 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.004077, allocations: 0.5834 MB / 482.4 MB, free: 4.648 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.895e-05/0.004106, allocations: 0 / 482.4 MB, free: 4.648 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.879e-05/0.004125, allocations: 0 / 482.4 MB, free: 4.648 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.789e-05/0.004173, allocations: 10.16 kB / 482.4 MB, free: 4.641 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005791/0.004752, allocations: 151.4 kB / 482.5 MB, free: 4.504 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.964e-05/0.004812, allocations: 30.39 kB / 482.6 MB, free: 4.477 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.599e-05/0.004848, allocations: 5 kB / 482.6 MB, free: 4.473 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.645e-05/0.004884, allocations: 15.98 kB / 482.6 MB, free: 4.457 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.287e-05/0.004937, allocations: 12.53 kB / 482.6 MB, free: 4.445 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.004948, allocations: 1.312 kB / 482.6 MB, free: 4.445 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000301/0.005249, allocations: 283.4 kB / 482.9 MB, free: 4.168 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.62e-05/0.005266, allocations: 4 kB / 482.9 MB, free: 4.164 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.696e-05/0.005283, allocations: 15.92 kB / 482.9 MB, free: 4.148 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.005465, allocations: 160.2 kB / 483 MB, free: 3.992 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.005467, allocations: 0 / 483 MB, free: 3.992 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.005469, allocations: 1.219 kB / 483 MB, free: 3.992 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.005472, allocations: 3.938 kB / 483 MB, free: 3.988 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.0002716/0.005744, allocations: 267.3 kB / 483.3 MB, free: 3.703 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.005775, allocations: 9.094 kB / 483.3 MB, free: 3.695 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.742e-05/0.005802, allocations: 8.938 kB / 483.3 MB, free: 3.688 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.445e-05/0.005877, allocations: 114.8 kB / 483.4 MB, free: 3.551 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.005887, allocations: 8.297 kB / 483.4 MB, free: 3.543 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.005906, allocations: 4.719 kB / 483.4 MB, free: 3.539 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.488e-05/0.005991, allocations: 94.25 kB / 483.5 MB, free: 3.43 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.006001, allocations: 4.734 kB / 483.5 MB, free: 3.426 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.006008, allocations: 5.312 kB / 483.5 MB, free: 3.422 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.006013, allocations: 1.781 kB / 483.5 MB, free: 3.422 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.324e-05/0.006036, allocations: 15.92 kB / 483.6 MB, free: 3.406 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.616e-05/0.006122, allocations: 65.05 kB / 483.6 MB, free: 3.328 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.199e-05/0.006194, allocations: 51.34 kB / 483.7 MB, free: 3.27 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.986e-05/0.006214, allocations: 20.84 kB / 483.7 MB, free: 3.246 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.006227, allocations: 2.578 kB / 483.7 MB, free: 3.246 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.006248, allocations: 34.56 kB / 483.7 MB, free: 3.203 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.006249, allocations: 0 / 483.7 MB, free: 3.203 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006991/0.006948, allocations: 439 kB / 484.2 MB, free: 2.723 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.006975, allocations: 60.09 kB / 484.2 MB, free: 2.652 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.115e-05/0.007026, allocations: 103.3 kB / 484.3 MB, free: 2.539 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.007038, allocations: 29.7 kB / 484.4 MB, free: 2.504 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.125e-05/0.007059, allocations: 84.77 kB / 484.4 MB, free: 2.418 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.00709, allocations: 40.27 kB / 484.5 MB, free: 2.379 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/0.007122, allocations: 29.69 kB / 484.5 MB, free: 2.344 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.688e-05/0.007188, allocations: 319.5 kB / 484.8 MB, free: 2.023 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.399e-05/0.007202, allocations: 8 kB / 484.8 MB, free: 2.016 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.573e-05/0.007218, allocations: 15.36 kB / 484.8 MB, free: 2.004 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.429e-05/0.007262, allocations: 29.47 kB / 484.9 MB, free: 1.973 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.007264, allocations: 3.984 kB / 484.9 MB, free: 1.969 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 6.48e-05/0.007329, allocations: 70.5 kB / 484.9 MB, free: 1.895 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.007339, allocations: 4 kB / 484.9 MB, free: 1.891 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.007343, allocations: 1.562 kB / 484.9 MB, free: 1.891 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.007356, allocations: 8.875 kB / 485 MB, free: 1.883 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.211e-05/0.007418, allocations: 20 kB / 485 MB, free: 1.863 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.007422, allocations: 3.938 kB / 485 MB, free: 1.859 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.274e-05/0.007435, allocations: 4.906 kB / 485 MB, free: 1.855 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-06/0.007439, allocations: 0 / 485 MB, free: 1.855 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.211e-05/0.007491, allocations: 118.5 kB / 485.1 MB, free: 1.73 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.253e-05/0.007504, allocations: 4 kB / 485.1 MB, free: 1.727 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.62e-05/0.0076, allocations: 78.75 kB / 485.2 MB, free: 1.645 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.007602, allocations: 0 / 485.2 MB, free: 1.645 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.007603, allocations: 0 / 485.2 MB, free: 1.645 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.007607, allocations: 8.469 kB / 485.2 MB, free: 1.637 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.007795, allocations: 236.7 kB / 485.4 MB, free: 1.383 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.007797, allocations: 4.609 kB / 485.4 MB, free: 1.379 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.979e-05/0.007857, allocations: 16 kB / 485.4 MB, free: 1.363 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.00786, allocations: 3.984 kB / 485.4 MB, free: 1.359 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.007866, allocations: 0 / 485.4 MB, free: 1.359 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.007868, allocations: 5.031 kB / 485.4 MB, free: 1.355 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.007871, allocations: 3.938 kB / 485.5 MB, free: 1.352 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.007993, allocations: 173.9 kB / 485.6 MB, free: 1.168 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.464e-06/0.008001, allocations: 9.375 kB / 485.6 MB, free: 1.16 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.008012, allocations: 11.94 kB / 485.6 MB, free: 1.148 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.001e-05/0.008052, allocations: 0.5156 kB / 485.6 MB, free: 1.148 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.704e-05/0.008069, allocations: 11.92 kB / 485.7 MB, free: 1.137 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.008075, allocations: 5.75 kB / 485.7 MB, free: 1.133 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.534e-06/0.008082, allocations: 8.859 kB / 485.7 MB, free: 1.121 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008082, allocations: 0 / 485.7 MB, free: 1.121 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000153/0.008235, allocations: 35.86 kB / 485.7 MB, free: 1.086 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.0001378/0.008373, allocations: 121.7 kB / 485.8 MB, free: 0.9609 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.803e-05/0.008461, allocations: 55.25 kB / 485.9 MB, free: 0.9062 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.008464, allocations: 0.75 kB / 485.9 MB, free: 0.9062 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.135e-05/0.008485, allocations: 24.86 kB / 485.9 MB, free: 0.8789 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001092/0.008594, allocations: 13.98 kB / 485.9 MB, free: 0.8672 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004424/0.009037, allocations: 217.1 kB / 486.1 MB, free: 0.6523 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.138e-05/0.009068, allocations: 59.3 kB / 486.2 MB, free: 0.5742 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.363e-05/0.009102, allocations: 21.58 kB / 486.2 MB, free: 0.5586 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.667e-05/0.009149, allocations: 63.38 kB / 486.3 MB, free: 0.4961 MB / 442.7 MB Notification: Performance of SimCode: time 4.81e-07/0.009149, allocations: 0 / 486.3 MB, free: 0.4961 MB / 442.7 MB Notification: Performance of Templates: time 0.002553/0.0117, allocations: 1.064 MB / 487.3 MB, free: 15.55 MB / 458.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 -s gbode -gbm=radauIIA3 -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.468913523014635]