Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.0009303/0.0009303, 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.0009289/0.0009289, allocations: 181 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.917/0.917, allocations: 177.2 MB / 203.8 MB, free: 5.504 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.7618/0.7618, allocations: 154.9 MB / 415.1 MB, free: 268 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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0.5469 kB / 480.4 MB, free: 6.602 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.333e-05/1.455e-05, allocations: 4.562 kB / 480.4 MB, free: 6.598 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001795/0.00181, allocations: 1.318 MB / 481.7 MB, free: 5.301 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007212/0.002531, allocations: 0.5752 MB / 482.3 MB, free: 4.738 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.118e-05/0.002552, allocations: 4.562 kB / 482.3 MB, free: 4.734 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.436e-05/0.002567, allocations: 1.312 kB / 482.3 MB, free: 4.734 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.967e-05/0.002606, allocations: 5.953 kB / 482.3 MB, free: 4.73 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004122/0.003018, allocations: 150.8 kB / 482.4 MB, free: 4.594 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.883e-05/0.003067, allocations: 19.55 kB / 482.4 MB, free: 4.578 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.889e-05/0.003096, allocations: 5.828 kB / 482.4 MB, free: 4.574 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.524e-05/0.003141, allocations: 8 kB / 482.4 MB, free: 4.566 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.881e-05/0.00318, allocations: 8.766 kB / 482.5 MB, free: 4.559 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.003192, allocations: 4 kB / 482.5 MB, free: 4.555 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002777/0.00347, allocations: 272 kB / 482.7 MB, free: 4.289 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.003483, allocations: 3.984 kB / 482.7 MB, free: 4.285 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.366e-05/0.003497, allocations: 9.375 kB / 482.7 MB, free: 4.277 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.003672, allocations: 159.5 kB / 482.9 MB, free: 4.121 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.003674, allocations: 0 / 482.9 MB, free: 4.121 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.01e-07/0.003675, allocations: 0 / 482.9 MB, free: 4.121 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.905e-06/0.003677, allocations: 0.7812 kB / 482.9 MB, free: 4.121 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002496/0.003927, allocations: 264.8 kB / 483.2 MB, free: 3.84 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.754e-05/0.003955, allocations: 8.031 kB / 483.2 MB, free: 3.832 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.232e-05/0.003977, allocations: 8.938 kB / 483.2 MB, free: 3.824 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.938e-05/0.004036, allocations: 102.1 kB / 483.3 MB, free: 3.699 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.303e-06/0.004044, allocations: 1.219 kB / 483.3 MB, free: 3.699 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.00406, allocations: 12.31 kB / 483.3 MB, free: 3.688 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.786e-05/0.004127, allocations: 64.61 kB / 483.3 MB, free: 3.613 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.869e-06/0.004132, allocations: 192 / 483.3 MB, free: 3.613 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.004141, allocations: 9.156 kB / 483.4 MB, free: 3.605 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.004145, allocations: 384 / 483.4 MB, free: 3.605 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.787e-05/0.004163, allocations: 13.7 kB / 483.4 MB, free: 3.594 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.282e-05/0.004236, allocations: 61.61 kB / 483.4 MB, free: 3.52 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.004347, allocations: 36.11 kB / 483.5 MB, free: 3.477 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.606e-05/0.004363, allocations: 12.86 kB / 483.5 MB, free: 3.461 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.004373, allocations: 0 / 483.5 MB, free: 3.461 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.004393, allocations: 40.59 kB / 483.5 MB, free: 3.414 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 7.32e-07/0.004393, allocations: 0 / 483.5 MB, free: 3.414 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003962/0.00479, allocations: 222 kB / 483.7 MB, free: 3.164 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.004813, allocations: 52.06 kB / 483.8 MB, free: 3.102 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.192e-05/0.004855, allocations: 111.5 kB / 483.9 MB, free: 2.98 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.717e-06/0.004864, allocations: 26.7 kB / 483.9 MB, free: 2.949 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.968e-05/0.004884, allocations: 88.14 kB / 484 MB, free: 2.859 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.004903, allocations: 15.8 kB / 484 MB, free: 2.844 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.792e-05/0.004931, allocations: 34.73 kB / 484.1 MB, free: 2.805 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.284e-05/0.004994, allocations: 314.8 kB / 484.4 MB, free: 2.488 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.075e-06/0.005002, allocations: 4 kB / 484.4 MB, free: 2.484 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.009e-05/0.005012, allocations: 12.55 kB / 484.4 MB, free: 2.473 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.756e-05/0.00504, allocations: 25.41 kB / 484.4 MB, free: 2.445 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.005041, allocations: 3.984 kB / 484.4 MB, free: 2.441 MB / 442.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 4.596e-05/0.005087, allocations: 54.31 kB / 484.5 MB, free: 2.383 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.005097, allocations: 4 kB / 484.5 MB, free: 2.379 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.005101, allocations: 0.625 kB / 484.5 MB, free: 2.379 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/0.005109, allocations: 0.625 kB / 484.5 MB, free: 2.379 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.044e-05/0.00514, allocations: 8 kB / 484.5 MB, free: 2.371 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.005144, allocations: 4.594 kB / 484.5 MB, free: 2.367 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.928e-06/0.005154, allocations: 4.75 kB / 484.5 MB, free: 2.363 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-06/0.005157, allocations: 0 / 484.5 MB, free: 2.363 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 (7): * Single equations (assignments): 7 * 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.651e-05/0.005204, allocations: 123.1 kB / 484.6 MB, free: 2.234 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.999e-06/0.005209, allocations: 0 / 484.6 MB, free: 2.234 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.887e-05/0.005278, allocations: 55.27 kB / 484.7 MB, free: 2.176 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.005279, allocations: 0 / 484.7 MB, free: 2.176 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.00528, allocations: 0.5625 kB / 484.7 MB, free: 2.176 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.005284, allocations: 4.891 kB / 484.7 MB, free: 2.172 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.005431, allocations: 215.7 kB / 484.9 MB, free: 1.934 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.005432, allocations: 1 kB / 484.9 MB, free: 1.934 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.339e-05/0.005465, allocations: 12 kB / 484.9 MB, free: 1.922 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.005467, allocations: 0 / 484.9 MB, free: 1.922 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-06/0.005471, allocations: 0.625 kB / 484.9 MB, free: 1.922 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.005472, allocations: 0 / 484.9 MB, free: 1.922 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.005474, allocations: 4.625 kB / 484.9 MB, free: 1.918 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.228e-05/0.005566, allocations: 162 kB / 485 MB, free: 1.742 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.345e-05/0.00558, allocations: 11.98 kB / 485.1 MB, free: 1.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.083e-06/0.005587, allocations: 0 / 485.1 MB, free: 1.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.324e-05/0.00562, allocations: 4 kB / 485.1 MB, free: 1.727 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.062e-05/0.005631, allocations: 3.938 kB / 485.1 MB, free: 1.723 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-06/0.005635, allocations: 5.75 kB / 485.1 MB, free: 1.719 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.377e-05/0.005649, allocations: 13.72 kB / 485.1 MB, free: 1.703 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.005649, allocations: 0 / 485.1 MB, free: 1.703 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001369/0.005786, allocations: 23.94 kB / 485.1 MB, free: 1.68 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0001016/0.005888, allocations: 101.4 kB / 485.2 MB, free: 1.574 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.994e-05/0.005938, allocations: 36.72 kB / 485.2 MB, free: 1.535 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.00594, allocations: 0.75 kB / 485.2 MB, free: 1.535 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.595e-05/0.005955, allocations: 17.55 kB / 485.3 MB, free: 1.516 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.349e-05/0.006049, allocations: 4 kB / 485.3 MB, free: 1.512 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000355/0.006404, allocations: 185.8 kB / 485.4 MB, free: 1.324 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.667e-05/0.006431, allocations: 56.8 kB / 485.5 MB, free: 1.25 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.758e-05/0.006448, allocations: 12.31 kB / 485.5 MB, free: 1.238 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.529e-05/0.006483, allocations: 60.3 kB / 485.6 MB, free: 1.18 MB / 442.7 MB Notification: Performance of SimCode: time 3.61e-07/0.006484, allocations: 0 / 485.6 MB, free: 1.18 MB / 442.7 MB Notification: Performance of Templates: time 0.001941/0.008425, allocations: 0.7237 MB / 486.3 MB, free: 0.5391 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.291974427178502]