Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001011/0.001011, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001214/0.001214, allocations: 173 kB / 23.36 MB, free: 1.133 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.005/1.005, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.8012/0.8012, 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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0.9844 kB / 480.4 MB, free: 6.543 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.58e-05, allocations: 5.438 kB / 480.4 MB, free: 6.539 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001783/0.001809, allocations: 1.354 MB / 481.8 MB, free: 5.207 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007496/0.002559, allocations: 0.5868 MB / 482.4 MB, free: 4.633 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.117e-05/0.00258, allocations: 0 / 482.4 MB, free: 4.633 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.58e-05/0.002596, allocations: 0 / 482.4 MB, free: 4.633 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.461e-05/0.002631, allocations: 3.422 kB / 482.4 MB, free: 4.633 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003762/0.003007, allocations: 143.2 kB / 482.5 MB, free: 4.504 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.505e-05/0.003062, allocations: 29.61 kB / 482.5 MB, free: 4.477 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.246e-05/0.003094, allocations: 1 kB / 482.5 MB, free: 4.477 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.45e-05/0.003149, allocations: 11.98 kB / 482.5 MB, free: 4.465 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.293e-05/0.003192, allocations: 0.625 kB / 482.5 MB, free: 4.465 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.003204, allocations: 4 kB / 482.5 MB, free: 4.461 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003075/0.003511, allocations: 284 kB / 482.8 MB, free: 4.184 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.239e-05/0.003524, allocations: 0.5625 kB / 482.8 MB, free: 4.184 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.335e-05/0.003537, allocations: 8 kB / 482.8 MB, free: 4.176 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.003711, allocations: 156.2 kB / 483 MB, free: 4.023 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.003714, allocations: 1.781 kB / 483 MB, free: 4.023 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.003714, allocations: 0 / 483 MB, free: 4.023 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.596e-06/0.003718, allocations: 0 / 483 MB, free: 4.023 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.000252/0.00397, allocations: 263.4 kB / 483.2 MB, free: 3.742 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.004001, allocations: 12.03 kB / 483.2 MB, free: 3.73 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.362e-05/0.004024, allocations: 1.688 kB / 483.3 MB, free: 3.73 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.402e-05/0.004098, allocations: 119 kB / 483.4 MB, free: 3.59 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.004109, allocations: 5.188 kB / 483.4 MB, free: 3.586 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.00413, allocations: 8.328 kB / 483.4 MB, free: 3.578 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.362e-05/0.004203, allocations: 64.58 kB / 483.4 MB, free: 3.504 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.994e-06/0.00421, allocations: 192 / 483.4 MB, free: 3.504 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.001e-06/0.004216, allocations: 2.094 kB / 483.4 MB, free: 3.504 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.004221, allocations: 384 / 483.4 MB, free: 3.504 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.032e-05/0.004241, allocations: 12.55 kB / 483.5 MB, free: 3.492 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.499e-05/0.004326, allocations: 64.98 kB / 483.5 MB, free: 3.414 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.004457, allocations: 39.77 kB / 483.6 MB, free: 3.367 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.077e-05/0.004478, allocations: 17.55 kB / 483.6 MB, free: 3.348 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.00449, allocations: 1.062 kB / 483.6 MB, free: 3.348 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.004509, allocations: 34.56 kB / 483.6 MB, free: 3.305 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 5.41e-07/0.004509, allocations: 1.156 kB / 483.6 MB, free: 3.305 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004114/0.004921, allocations: 223.2 kB / 483.8 MB, free: 3.055 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.206e-05/0.004943, allocations: 51.41 kB / 483.9 MB, free: 2.992 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.513e-05/0.004988, allocations: 104.4 kB / 484 MB, free: 2.879 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.004996, allocations: 25.7 kB / 484 MB, free: 2.848 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.179e-05/0.005018, allocations: 88.12 kB / 484.1 MB, free: 2.758 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.005041, allocations: 23.8 kB / 484.1 MB, free: 2.734 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.005067, allocations: 22.88 kB / 484.1 MB, free: 2.707 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.088e-05/0.005138, allocations: 330.7 kB / 484.5 MB, free: 2.375 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.888e-06/0.005148, allocations: 4 kB / 484.5 MB, free: 2.371 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.967e-06/0.005157, allocations: 4 kB / 484.5 MB, free: 2.367 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.916e-05/0.005186, allocations: 25.48 kB / 484.5 MB, free: 2.34 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.22e-07/0.005186, allocations: 0.9062 kB / 484.5 MB, free: 2.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.297e-05/0.005239, allocations: 46.25 kB / 484.5 MB, free: 2.289 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.005251, allocations: 8 kB / 484.5 MB, free: 2.281 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.005254, allocations: 0.875 kB / 484.6 MB, free: 2.281 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.005265, allocations: 0 / 484.6 MB, free: 2.281 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.903e-05/0.005304, allocations: 16.83 kB / 484.6 MB, free: 2.266 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.005306, allocations: 0 / 484.6 MB, free: 2.266 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.201e-05/0.005318, allocations: 8.562 kB / 484.6 MB, free: 2.258 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-06/0.005321, allocations: 0 / 484.6 MB, free: 2.258 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.348e-05/0.005365, allocations: 110.5 kB / 484.7 MB, free: 2.141 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.081e-06/0.005371, allocations: 4.625 kB / 484.7 MB, free: 2.137 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.516e-05/0.005446, allocations: 67.11 kB / 484.8 MB, free: 2.066 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.005448, allocations: 0.625 kB / 484.8 MB, free: 2.066 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-06/0.005449, allocations: 0 / 484.8 MB, free: 2.066 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.005452, allocations: 0.5938 kB / 484.8 MB, free: 2.066 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.005607, allocations: 212.6 kB / 485 MB, free: 1.832 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.005609, allocations: 0 / 485 MB, free: 1.832 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.042e-05/0.005649, allocations: 19.98 kB / 485 MB, free: 1.812 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.005651, allocations: 4.875 kB / 485 MB, free: 1.809 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.579e-06/0.005656, allocations: 0 / 485 MB, free: 1.809 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.005657, allocations: 1.406 kB / 485 MB, free: 1.809 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.005658, allocations: 0 / 485 MB, free: 1.809 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.808e-05/0.005756, allocations: 160.3 kB / 485.1 MB, free: 1.633 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.281e-05/0.005769, allocations: 4 kB / 485.1 MB, free: 1.629 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.665e-06/0.005777, allocations: 0.5625 kB / 485.1 MB, free: 1.629 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.572e-05/0.005812, allocations: 4.781 kB / 485.2 MB, free: 1.625 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.296e-05/0.005825, allocations: 11.92 kB / 485.2 MB, free: 1.613 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.00583, allocations: 1.344 kB / 485.2 MB, free: 1.613 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.037e-05/0.00584, allocations: 13.55 kB / 485.2 MB, free: 1.598 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00584, allocations: 0 / 485.2 MB, free: 1.598 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001473/0.005988, allocations: 23.88 kB / 485.2 MB, free: 1.574 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0001352/0.006123, allocations: 109.2 kB / 485.3 MB, free: 1.461 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.211e-05/0.006185, allocations: 27.42 kB / 485.3 MB, free: 1.434 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.006188, allocations: 0 / 485.3 MB, free: 1.434 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.54e-05/0.006203, allocations: 20.78 kB / 485.4 MB, free: 1.41 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001094/0.006312, allocations: 8.312 kB / 485.4 MB, free: 1.402 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000392/0.006704, allocations: 182.5 kB / 485.5 MB, free: 1.219 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.98e-05/0.006734, allocations: 59.34 kB / 485.6 MB, free: 1.141 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.055e-05/0.006755, allocations: 5.719 kB / 485.6 MB, free: 1.137 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.665e-05/0.006791, allocations: 55.38 kB / 485.7 MB, free: 1.082 MB / 442.7 MB Notification: Performance of SimCode: time 6.42e-07/0.006792, allocations: 0 / 485.7 MB, free: 1.082 MB / 442.7 MB Notification: Performance of Templates: time 0.002109/0.008901, allocations: 0.7545 MB / 486.4 MB, free: 432 kB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6064017172902822]